Simple tool to produce json from shell args
This is useful to put someplace in your PATH (possibly ~/bin or /usr/local/bin/) with a cute name and use with curl.
I simply call it "json".
Example:
[noaha@vbo-t3x-pro-nax: ~]$ payload="$(json "body=test body" "title=Test title" props="$(json monday_broadcast=True)")"
[noaha@vbo-t3x-pro-nax: ~]$ echo "$payload" | jq # pretty print