java icon indicating copy to clipboard operation
java copied to clipboard

Support JsonPath syntax to extract objects from a JSON

Open stevehu opened this issue 8 years ago • 3 comments

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

stevehu avatar Jul 15 '17 12:07 stevehu

why cant you go for jackson /Gson?

karthikrK7 avatar Jul 18 '17 10:07 karthikrK7

I am using Jackson with JsonPath but planning to switch to Jsoniter due to performance gap.

stevehu avatar Jul 18 '17 11:07 stevehu

ok. any sample code ? so that i can change it and send back to you

karthikrK7 avatar Jul 18 '17 12:07 karthikrK7