harmony-jolt 0.7.0

JSON to JSON transformation library using the JOLT spec
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod function_parser;
mod functions;
mod evaluator;
mod operation;

pub use operation::ModifierSpec;

use crate::Result;
use serde_json::Value;

/// Apply modifier transformation to input
pub fn modify(input: Value, spec: &ModifierSpec) -> Result<Value> {
    spec.apply(input)
}