Predicates grouping in JSONpath using Jayway Implementation

45 views
Skip to first unread message

Shashi Ramakrishna

unread,
Nov 7, 2016, 4:23:03 PM11/7/16
to JsonPath

I am trying to use JSONpath to query my JSON Object. The logical || or && operator is working. But, when I try to group my predicates then perform the logical || or && operations it seems not to be working. Source

E.g.

$..[?(@.book=='fiction' && @.store=='online')]

E.g.

$..[?(@.store=='online' || @.store=='offline') && (@.NER=='observation')]


The second one doesn't work. Any pointers as to where the error is or is that functionality not yet supported?

Reply all
Reply to author
Forward
0 new messages