jsonlogic_rs

A JsonLogic implementation in Rust.
To use this library, add
[]
= "0.3"
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
>
,>=
,<
, and<=
✅- Between ✅
max
andmin
✅- Arithmetic,
+
-
*
/
✅ %
✅
- Array Operations #6
map
,reduce
andfilter
❌all
,none
andsome
❌merge
❌in
❌
- String Operations #7
in
❌cat
❌substr
❌
- Miscellaneous
log
❌ #8