You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path such as $.store.book[0]category
Does not throw an error and is silently ignoring the surplus text category beyond the ]
And is parsed as $.store.book[0]
Can be demonstrated also on https://freestrings.github.io/jsonpath/
The same value is returned with and without the surplus text category.
Parser should throw an error on surplus text.
Notice that If there is a dot delimiter before the surplus text then everything is OK, e.g., $.store.book[0].category is working as expeced.
The text was updated successfully, but these errors were encountered:
Path such as
$.store.book[0]category
Does not throw an error and is silently ignoring the surplus text
category
beyond the]
And is parsed as
$.store.book[0]
Can be demonstrated also on https://freestrings.github.io/jsonpath/
The same value is returned with and without the surplus text
category
.Parser should throw an error on surplus text.
Notice that If there is a dot delimiter before the surplus text then everything is OK, e.g.,
$.store.book[0].category
is working as expeced.The text was updated successfully, but these errors were encountered: