I’m trying to read the artifact stanza from the API, e.g.:
curl -s "https://formulae.brew.sh/api/cask/atom.json" | jq '.artifacts'
I would like to grab
suite or something to install according to https://github.com/Homebrew/homebrew-cask/blob/master/doc/cask_language_reference/all_stanzas.md#at-least-one-artifact-stanza-is-also-required, but not something like
trash. In the example above its easy
curl -s "https://formulae.brew.sh/api/cask/atom.json" | jq -r '.artifacts'
But the same command on blender for example fails. I don’t understand how the JSON output is built. Can anyone explain this to me?