jsonata-java icon indicating copy to clipboard operation
jsonata-java copied to clipboard

JSONata reference ported to Java

Results 16 jsonata-java issues
Sort by recently updated
recently updated
newest added

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...

enhancement

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)

enhancement

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...

bug

This is a port of the corresponding fix in the Python implementation of JSONata, see [this](https://github.com/rayokota/jsonata-python/issues/3). The fix allows a null obtained from the context to be properly handled, so...

once they are merged, we can delete our Junit code

Input: { "x" : 100.0 } Expression: $string(x) Output: 1e+2 should be: 100

Hello, I'm wondering if you can make the AST tree from the parser publicly accessible outside of the module. I have a framework that uses graphQL to build out a...