jq query with a hyphen

Published: Tuesday, Oct 6, 2015 Last modified: Thursday, Nov 14, 2024

Notice the difference between:

jq '.POST["family-name"]' < notes.json

and

jq '.POST.pricing' < notes.json