{ "name": "jo", "version": "1.9", "summary": "jo: makes JSON objects and arrays from shell arguments", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://github.com/jpmens/jo", "source": { "url": "https://github.com/jpmens/jo/releases/download/1.9/jo-1.9.tar.gz", "sha256": "0195cd6f2a41103c21544e99cd9517b0bce2d2dc8cde31a34867977f8a19c79f" }, "watch": {"kind": "github-release", "repo": "jpmens/jo", "tag_regex": "^v?([0-9]+(?:\\.[0-9]+)+)$"}, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "{ bin/jo -v 2>&1 || true; } | has 'jo 1.9' && [ \"$(bin/jo name=nas disks=4 ok=true note=)\" = '{\"name\":\"nas\",\"disks\":4,\"ok\":true,\"note\":null}' ] && [ \"$(bin/jo -a 1 two \"$(bin/jo k=v)\")\" = '[1,\"two\",{\"k\":\"v\"}]' ] && bin/jo -p a[]=1 a[]=2 | has '\"a\": \\[' && echo 'jo: an object, a nested array and a pretty-printed list'" }