harmony-jolt 0.7.0

JSON to JSON transformation library using the JOLT spec
Documentation
1
2
3
4
5
6
7
8
use serde_json::Value as JsonValue;
use crate::Result;

/// Transform interface for individual jolt operations
pub trait Transform {
    /// Apply a transform to an input and get an output value
    fn apply(&self, val: &JsonValue) -> Result<JsonValue>;
}