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
Bindings error in expression.evaluate() method #16
This goes against the reference implementation documentation. Is this an intentional departure from being a strict port of the reference implementation?
Activity
rayokota commentedon Mar 15, 2025
The bindings parameter needs to an instance of
Jsonata.Frame. The following workstokebe commentedon Mar 17, 2025
This goes against the reference implementation documentation. Is this an intentional departure from being a strict port of the reference implementation?
I'd be happy to make a PR...
rayokota commentedon Mar 20, 2025
Right, this port is more closely aligned with the Java implementation. See https://github.com/dashjoin/jsonata-java?tab=readme-ov-file#custom-functions
TheCaffinatedDeveloper commentedon Aug 27, 2025
@rayokota Can we confirm this works as expected for lambda functions? Trying to do this
https://github.com/dashjoin/jsonata-java/blob/main/src/test/java/com/dashjoin/jsonata/CustomFunctionTest.java
But having an issue replicating
TheCaffinatedDeveloper commentedon Aug 27, 2025
nvm, I found https://github.com/rayokota/jsonata-python/blob/master/tests/custom_function_test.py 😆
rayokota commentedon Jul 5, 2026
Fixed by #39