jsonata-java
jsonata-java copied to clipboard
JSONata reference ported to Java
JSONata playground simply returns "null"
In jsonata.js there is possibility to create binding to js namspace and then call a function. For example You can bind `Math `namespace and call `round `function. `$math().round(2.5)` How I...
Making Jsonata and other related classes and interface Serializable.
Experiments show that with few changes huge boosts (synthetic tests 3x faster) can be achieved (caused by less synchronization + much better JIT code generation)
This works: jsonata("$toMillis(aaa)").evaluate(null); Written like this, we get the exception: jsonata("aaa ~> $toMillis()").evaluate(null); ``` java.lang.IllegalArgumentException: argument type mismatch at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.dashjoin.jsonata/com.dashjoin.jsonata.Functions.call(Functions.java:2158) at...