Very convenient way to get some specific value out of a json file. The example returns the most current minecraft version.

curl -s https://launchermeta.mojang.com/mc/game/version_manifest.json |
python3 -c "import sys, json; print(json.load(sys.stdin)['latest']['release'])"