-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
The following path "$.store.book[?(@.authors[?(@.lastName1)])]" returns both books despite the fact none has lastName1 attribute.
Example JSON:
{
"store": {
"book": [
{
"authors": [
{
"firstName": "Nigel",
"lastName": "Rees"
},
{
"firstName": "Evelyn",
"lastName": "Waugh"
}
],
"title": "Sayings of the Century"
},
{
"authors": [
{
"firstName": "Herman",
"lastName": "Melville"
},
{
"firstName": "Somebody",
"lastName": "Else"
}
],
"title": "Moby Dick"
}
]
}
}Metadata
Metadata
Assignees
Labels
No labels