JSON

Tools which I use for manipulating JSON and YAML files.

Snippets

Simple conversions:

cat data.yaml | yq --tojson
cat data.json | yq -P

Search:

cat data.json | jq ".[]" | select(.key == "value")'