Basics
Iterating through an array
jq -r ".[] | .some_attribute" input.json
Serialized JSON string to JSON object
fromjson
operator
Snippets
Extract each element in an array/object to a separate file
for key in (jq -r '.foobar|keys[]' input.json);jq ".foobar[$key]" input.json > object_$k.json;end