I need a fast way to extract data from json responses a I get from a webservice.
By fast, I mean fast for the programmer, not necessarily for the computer.
I was thinking of something like Xpath for Json, if such a thing exists.
Any ideas? I am open to any Java Json library. In fact, the easiness to extract data from Json with a powerful querying language will be central to the choice of json library.
Jackson JSON Processor has been used in a lot of frameworks. The tree model or data binding approach is probably the easiest to work with.
JsonPath emerged as a de facto standard for such tasks. A Java implementation:
https://github.com/nebhale/JsonPath
It seems well maintained and works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With