jq query with a hyphen

Published: Tuesday, Oct 6, 2015 Last modified: Monday, Nov 23, 2020

Notice the difference between:

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

and

jq '.POST.pricing' < notes.json