Skip to content

horvathandris/json-logic-gleam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonlogic

Package Version Hex Docs

A Gleam library for evaluating JSON Logic expressions.

gleam add jsonlogic@1
import jsonlogic

pub fn main() {
  echo jsonlogic.apply(" { \"==\" : [1, 1] } ", to: dynamic.nil()) // Ok(True)
}

Further documentation can be found at https://hexdocs.pm/jsonlogic.

Development

Testing

The library is tested against the JSON Logic Compatibility Tables. See the test report for details.

gleam test  # Run the test suites

About

JSONLogic library for Gleam

Topics

Resources

License

Stars

Watchers

Forks

Languages