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
{{ message }}
Repository navigation
Positional variable binding not working in java #325
I wanted to use this feature to be able to store filtered element indexes like this doc example :
library.books#$i['Kernighan' in authors].{
'title': title,
'index': $i
}
It works well on the exerciser page which is based on the javascript version of this library but not with java where I get a Parsing exception :
com.api.jsonata4java.expressions.ParseException: line 1:13 at null: token recognition error at: '#'
, line 1:14 at [@3,14:15='$i',<47>,1:14]: mismatched input '$i' expecting {, '.', 'in', '?', '[', '{', '~>', '*', '/', '+', '-', '%', '=', '!=', '<', '<=', '>', '>=', '&', '^', 'and', 'or'}
Is it a bug or this feature is simply not supported by the java version ? If not is it planned ?
Activity
wnm3 commentedon Nov 11, 2024