jsonlogic
A Gleam library for evaluating JSON Logic expressions.
gleam add jsonlogic@1
import jsonlogic
pub fn main() {
echo jsonlogic.apply(" { \"==\" : [1, 1] } ") // Ok(True)
}
Further documentation can be found at https://hexdocs.pm/jsonlogic.
Development
Testing
The library is tested against the JSON Logic Compatibility Tables.
gleam test # Run the test suites