$ pip install objectpath $$ objectpath
In weather readings find cities where temperature is higher than 25°C and the sky is clear.
$..*[@..temp > 25 and @.clouds.all is 0].nameStart by reading the tutorial. Install in Python or Javascript. Reference manual will help in daily job. Report bugs via Github issues, discuss on Google Groups.
So you've got that amazing set of data from an API, but all you see is a chunk of random JSON? ObjectPath shell can help you navigate this mess. Just do:
$ ObjectPath -u //URL-to-API/call ObjectPath interactive shell ctrl+c to exit. Loading JSON document from //URL-to-API/call done. >>> $.* { "cod":"200", "calctime":0.0082, "cnt" :15, "list" :[{ "id" :2217362, "name":"Gharyan" ...
Easy to start with and suitable for complex data-discovery jobs.
Allows for working with big nested tree structures. Up to the size of your RAM.
Available in JS and Python.