Automation and APIs
JSON
The text format APIs exchange data in: objects of key: value pairs, arrays, strings, numbers, true, false and null.
JSON is the text format APIs exchange data in. { } holds an object: keys in double quotes, each with a value.
[ ] holds an array, an ordered list. A value is a string, a number, true, false, null, an object or an
array, nested as deep as needed. jq pretty-prints it (jq .) and picks parts out (jq '.interfaces[].name').
YAML and XML write the same data another way.