BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Parsing JSON (Re: I Hate Ubuntu)



On May 8, 2018, Mike Small wrote:
>[YAML/JSON are] Still not much fun if your language is bourne
>shell, which I'm going to guess would be the most common choice for
>getting at this kind of file.

FYI, if you need to parse JSON from the shell, try jq:

  https://stedolan.github.io/jq/

I've used it for several projects on Linux & Windows and been
impressed. It does have a bit of a learning curve, but then, so does
sed. :-)

--
Dan Barrett
dbarrett at blazemonger.com