A JSON Logic implementation that actually works: ShinyJsonLogic
Briefly

"I built a new JSON Logic gem for Ruby because the existing options weren't cutting it for my projects; The current alternatives have very little compliance with the current JSON Logic standard or fail on edge cases that matter when you're sharing rules between Ruby and JavaScript, so I wrote a Gem with 92% compliance coverage currently and made it how I'd like it to be: Ruby 2.7+ compatible, zero deps and very simple to use (:"
"Try it live: https://jsonlogicruby.com (evaluates with both Ruby and JS side-by-side)"
"GitHub: https://github.com/luismoyano/shiny-json-logic-ruby"
This Ruby JSON Logic gem provides 92% compliance with the JSON Logic standard and focuses on correct handling of edge cases that affect rule sharing between Ruby and JavaScript. The gem supports Ruby 2.7 and later, requires no external dependencies, and offers a simple, predictable API for evaluating JSON Logic rules. The implementation improves interoperability when exchanging rules across languages and aims to fill gaps left by existing libraries with low compliance or inconsistent behavior. A live evaluator allows side-by-side comparison of Ruby and JavaScript evaluations, and the source code is available on GitHub.
Read at Rubyflow
Unable to calculate read time
[
|
]