JSON Tools
Easily create valid json from a script
Simple key value
jo key=value key2="another value"
Outputs
{"key":"value","key2":"another value"}
Embed calls to build up objects
jo -p key=$(jo foo=bar)
Outputs
{ "key": { "foo": "bar" } }
Take json and output it as individual lines with a path to them for easy grep/sed etc, can also take lines and turn them back into json
jo key=value key2="another value" | gron
Outputs
json = {};
json.key = "value";
json.key2 = "“another";
https://github.com/tomnomnom/gron
JSONifies the output of many CLI tools, file-types, and common strings for easier parsing in scripts