JSON Path Fundamentals Flashcards
1
Q
How do you check if a value matches multiple values in a list?
A
Using the in
operator:[?(@.size in ['S', ‘M'])]
2
Q
How do you negate a filter?
A
!
negates a filter:[?(!@.isbn)]
Note: matches elements that do not have the isbn property.