java
java copied to clipboard
Support JsonPath syntax to extract objects from a JSON
I am using JsonPath to extract objects for masking and code generating. When I switch to jsoniter, I cannot use JsonPath anymore. Is it possible to support the syntax of JsonPath? One of the use case would be to extract schema from swagger specification into a list.
Here is an example of swagger specification.
https://github.com/OAI/OpenAPI-Specification/blob/master/examples/v2.0/json/petstore.json
why cant you go for jackson /Gson?
I am using Jackson with JsonPath but planning to switch to Jsoniter due to performance gap.
ok. any sample code ? so that i can change it and send back to you