Function sval_json::stream_to_json_str

source ยท
pub fn stream_to_json_str(v: impl Value) -> Result<Box<JsonStr>, Error>
Expand description

Stream a value as JSON into a JsonStr.

This method will fail if the value contains complex values as keys.