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
The issue can be reproduced by using the InEvaluator (IN filter) but other filters are affected as well. Below is a simplified JSON structure to show the problem.
[
{
"id": 1,
"array":
[
"a",
{"b":"c"}
]
}
]
Trying to get the object, which contains an array including the String "a" with: $.*[?('a' in @.array)]
results in the following error: Could not determine value type
This is because the toValueNode method in ValueNode.java does not deal properly with objects or arrays.
The text was updated successfully, but these errors were encountered:
The issue can be reproduced by using the InEvaluator (IN filter) but other filters are affected as well. Below is a simplified JSON structure to show the problem.
Trying to get the object, which contains an array including the String "a" with:
$.*[?('a' in @.array)]
results in the following error:
Could not determine value type
This is because the
toValueNode
method in ValueNode.java does not deal properly with objects or arrays.The text was updated successfully, but these errors were encountered: