3 ms·
I've been using jq for a few months now while working with big GeoJSON blobs and it's a big help. The query language takes a bit of doing at first, but it's rea
by NelsonMinar 13y ago
I've been using jq for a few months now while working with big GeoJSON blobs and it's a big help. The query language takes a bit of doing at first, but it's really pretty great once you learn it.
curl -s http://tile.openstreetmap.us/vectiles-skeletron/12/656/1582.json http://tile.openstreetmap.us/vectiles-skeletron/12/656/1582.... | jq '.features[].properties.name'
- dc2447 13y agoPersonally jgrep seems a better choice here curl foo/bar.json | jgrep -n -s 'property' Or even better curl foo/bar.json | jgrep 'status=500' -n -s 'path' http://jgrep.org/ http://jgrep.org/