-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Most implementations seem to have the following issue:
Given the following JSON:
[
{
"stack": "",
"branch": [
"one/",
"two/"
]
},
{ "branch": ["three/", "four/"]}
]The following expression yields an incorrect result:
[?stack==''].branch[?starts_with(@, 'one')]->invalid-type
In contrast, the following similar expression returns the expected result:
[].branch[?starts_with(@, 'one')]->[ [ "one/" ], [] ]
Please consider adding a compliance test and fixing the libraries.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels