Skip to main content Crate vil_json Copy item path Source vil_json JSON literal construction returning VilJsonValue. JsonError Unified JSON error wrapping either serde_json or sonic-rs errors. VilJsonValue Wrapper over serde_json::Value with VIL integration methods. Value Re-export serde_json::Value for ad-hoc JSON construction.
Prefer typed structs with #[derive(VilModel)] when possible.
Represents any valid JSON value. from_slice Deserialize a value from a byte slice. from_str Deserialize a value from a string. to_bytes Serialize a value to bytes::Bytes (zero-copy compatible). to_string Serialize a value to a String. to_vec Serialize a value to a Vec.