7

Jackson provides JsonPointer. However, I want to do something like that what https://github.com/json-path/JsonPath can provide. How do I describe this in JsonPointer?:

$.store.book[?(@.price < 10)]

somethink like:

JsonPointer p = JsonPointer.compile("/store/book[????]");
nimo23
  • 5,170
  • 10
  • 46
  • 75

1 Answers1

0

JsonPath and JsonPointer serve different purposes. You won't be able to apply a pattern like above. You can read the Evaluation section to learn more about how JsonPointers work.

Saikat
  • 14,222
  • 20
  • 104
  • 125