Step: Bracket keys: .["foo"]
Bracket keys: .["foo"]
.["foo"] is the general form of .foo. Use it when a key isn't a plain identifier — e.g. it contains a dash, space, or dot.
Why it matters: .postal-code is read by jq as ".postal minus code". Real-world JSON keys (content-type, user id) force the bracket form all the time.
Your turn: read the postal-code from location.
Input:
Expected:
Step 4 of 27