Skip to main content

Crate vil_json

Crate vil_json 

Source

Macros§

vil_json
JSON literal construction returning VilJsonValue.

Structs§

JsonError
Unified JSON error wrapping either serde_json or sonic-rs errors.
VilJsonValue
Wrapper over serde_json::Value with VIL integration methods.

Enums§

Value
Re-export serde_json::Value for ad-hoc JSON construction. Prefer typed structs with #[derive(VilModel)] when possible. Represents any valid JSON value.

Functions§

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.