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

Build complex rules, serialize them as JSON, and execute them in JavaScript

Results 83 json-logic-js issues
Sort by recently updated
recently updated
newest added

I'm using jsonLogic to apply a formula on an array of values. I'm trying to figure out if within the formula there is any way to use the previous or...

Our company has written a port of JsonLogic for Dart, straight from the JavaScript version. Happy to donate or maintain it: https://github.com/ANVLCO/json-logic-dart Feel free to close this issue whenever you...

Hi, New to Github... I'm using a fork of jsonLogic for a product configurator we're developing, which will need regular updates of the rule set, so it fits our needs....

Does anyone know how do I pass in the data by using "var" inside "filter"? because the "var" inside filter alw default to the filtering array elements. Eg the rules...

This change exposes the JSONLogic factory function so that multiple independent instances of JSONLogic can be instantiated at once. For example: ```javascript // The module itself still acts like a...

Really great tool. I'm just keen if the bundle size could be reduzed by: - [x] generating binary operator functions - [x] caching access to global APIs - [x] auto...

Hi, I love the idea of json-logic-js.. however, my users might not want the learning curve of having to learn the syntax. I was wondering if there is anyone that...

This evaluates to false: ``` { "==": [ [ ], [ ] ] } ``` This evaluates to true: ``` { "==": [ [ ], "" ] } ```

it would be really helpful to have bitwise operations: https://www.w3schools.com/js/js_bitwise.asp As example: Currently creating for example XOR is quite complicated. With "^" xor (javascript operator) and n entries: {"^":[1,0,0,0,0]} ->...

Has there been interest, proposals or work done to port json-logic to golang?