I like those tools - working with json files often calls for some simple processing and it's a bit silly to write an app for each case. But I wish they would start embracing some common standard. So far we've got:
* jsonselect
* jsonpath
* jsonquery
* jaql
* unql (query part)
which all need the same query dsl, but use a slightly different syntax. I'd really like to see them unified one day, like xpath is the default for xml.
I would like something like this but for querying Python objects (dict containing lists of dicts with particular key-values that are needed, etc.) sort of like a declarative way of cleanly creating a new data structure from a response, or even yielding elements that match the definition I give. Does anything like this exist already? I am constantly writing different code to do this.
It would be some kind of meta-language that expressed these concepts of shuffling data around in a more succinct, non-imperative form. But having said that, I'm not really sure whether this could be done in Python.
* jsonselect
* jsonpath
* jsonquery
* jaql
* unql (query part)
which all need the same query dsl, but use a slightly different syntax. I'd really like to see them unified one day, like xpath is the default for xml.