Closed gdamjan closed 7 years ago
Search works on array object, the input should be:
[
{
'type': 'message',
'text': 'something'
},
{
'type': 'notmessage',
'text': 'something'
}
]
And then $[?(type == "message")]
will work
Given the json:
how do I match the whole document, if 'type' == 'message' ?
I tried and failed with: