sval::serde
pub fn to_serialize(value: impl Value) -> impl Serialize
Convert a Value into a Serialize.
Value
Serialize
If the Value uses nested maps or sequences where the keys, values or elements aren't known upfront then this method will need to allocate for them.