[][src]Function sval::serde::to_serialize

pub fn to_serialize(value: impl Value) -> impl Serialize

Convert a Value into a 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.