Closed xamde closed 1 year ago
[x] Read mapping file via Jackson ObjectMapper (as POJO)
[x] Stream JSON data file, read one JSON object at a time (no POJO mapping possible); For each object:
[ ] Replace JsonPath by JsonPointer Sample: https://cassiomolin.com/2016/07/13/using-jackson-and-json-pointer-to-query-and-parse-an-arbitrary-json-node/ Spec: https://datatracker.ietf.org/doc/html/rfc6901#section-3
Jackson has native support for it!
Syntax: "aaa/bbb/3/ccc"
We can remove the mini-engine. We need to update the example json mapping file.
see https://github.com/json-path/JsonPath/blob/master/json-path/src/test/java/com/jayway/jsonpath/JacksonJsonNodeJsonProviderTest.java