I am trying to filter books in my json that does not have "name" property.
I found it is supported in Java JsonPath
$..book[?(!@.name)]
But when I use it in C# ::
json.SelectTokens("$..book[?(!@.name)]")
I got ::
"Unexpected character while parsing path query: !"
Also tried ::
json.SelectTokens("$..book[?(@.name == null)]")
Which is parsed but 0 results returned.