jsonlogic_rs
A JsonLogic implementation in Rust.
To use this library, add
[]
= "0.1"
to your Cargo.toml
.
Usage
use ;
let rule = json!;
assert_eq!;
assert_eq!;
Operator Support
- Accessing Data
- Logic and Boolean Operations ✅
if
✅==
✅===
✅!=
✅!==
✅!
✅!!
✅or
✅and
✅
- Numeric Operations #5
>
,>=
,<
, 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