17 ms·
I've built a few toy apps that use json as intermediate formats and I've found JsonPath to be pretty effective at building ad-hoc queries. I wrapped it in a thi
by skorgu 17y ago
I've built a few toy apps that use json as intermediate formats and I've found JsonPath to be pretty effective at building ad-hoc queries. I wrapped it in a thin layer of python for command line use if anyone is interested.
Syntax and the real meat:
http://goessner.net/articles/JsonPath/ http://goessner.net/articles/JsonPath/
My rough-and-ready wrapper:
http://github.com/skorgu/pyjsonpath/tree/master http://github.com/skorgu/pyjsonpath/tree/master