[GTALUG] Extracting data from JSON file
Lennart Sorensen
lsorense at csclub.uwaterloo.ca
Fri Jul 19 13:06:05 EDT 2019
On Fri, Jul 19, 2019 at 03:40:29AM -0400, William Park via talk wrote:
> How do you extract data from JSON file?
>
> For XML file, "xmlstarlet" is the tool you try first. Is there similar
> tool for JSON format? I tried "jq" today, but its syntax is a bit weird
> from first look.
python:
https://docs.python.org/3/library/json.html
c:
https://github.com/vincenthz/libjson
https://github.com/json-c/json-c
etc. There are lots.
jq looks decent if you have some reason to want a command line tool
for it. I haven't tried it. I have only ever wanted to deal with json
data in an application. Fortunately. :)
--
Len Sorensen
More information about the talk
mailing list