jsonlogic_rs
A JsonLogic implementation in Rust.
To use this library, add
[]
= "0.2"
to your Cargo.toml.
Usage
use ;
let rule = json!;
assert_eq!;
assert_eq!;
Operator Support
- Accessing Data
var✅missing✅missing_some✅
- Logic and Boolean Operations ✅
if✅==✅===✅!=✅!==✅!✅!!✅or✅and✅
- Numeric Operations #5
>,>=,<, and<=✅- Between ❌
maxandmin❌- Arithmetic,
+-*/❌ %❌
- Array Operations #6
map,reduceandfilter❌all,noneandsome❌merge❌in❌
- String Operations #7
in❌cat❌substr❌
- Miscellaneous
log❌ #8