Skip to main content

json_value_to_string

Function json_value_to_string 

Source
pub fn json_value_to_string(v: &Value) -> Cow<'_, str>
Expand description

Shared utility: convert a JSON value to a string representation. Returns Cow::Borrowed for the String variant to avoid allocation.