json-logic-java icon indicating copy to clipboard operation
json-logic-java copied to clipboard

A pure Java implementation of JsonLogic without using the Nashorn JS engine

Results 27 json-logic-java issues
Sort by recently updated
recently updated
newest added

The evaluator of the cat function applies toString() to all arguments at line 30 of io.github.jamsesso.jsonlogic.evaluator.expressions.ConcatenateExpression `Object::toString` The expression below evaluates to the arguments `{"E001", null}` the evaluation of this...

I have a use case where I am building JsonLogic Pojo programmatically in the backend and return the built Pojo as a serialized string in the API response. However I...

The "all" operation will fail with "first argument to all must be a valid array" if data is an empty map when using variables. Added tests for different "all in"...

This PR fixes a race condition that can be triggered when adding new operators, and slightly improves the cache lookup

This pull request addresses issue #63: Excessive object and memory allocations from string format operations during JSON logic evaluation. #### Summary of Improvements - **Optimized `jsonPath` Construction:** Now, `jsonPath` is...

HI Team, thanks for creating a wonderful library, kudos to everyone in the team, I am facing a problem, so I am using `json-logic-java` and on the online playground the...

We use [JSON logic as a core component](https://flagd.dev/architecture-decisions/flag-configuration/#json-logic-as-the-foundation) in our feature flag evaluation engine for flagd, which operates in various programming languages. Thanks for providing and maintaining this library in...

The code creates a new class `LocalContext` that works as data for the reduce operation, but it also delegates requests to the global data if the variable name is not...

JsonLogic: ```json { "-": [ "4" ] } ``` As Java: ```java String expression = "{ \"-\": [ \"4\" ] }"; Map data = new HashMap(); System.out.println(new JsonLogic().apply(expression, data)); ```...

Issue: https://github.com/jamsesso/json-logic-java/issues/45 This change is to provide clients option to use Caffeine with a pre configured max size, so that the parseCache does not grow indefinitely which were causing JVM...