Skip to main content

to_json

Function to_json 

Source
pub fn to_json<T>(v: &T) -> Result<String, Error>
where T: TypeShift,
Expand description

Core trait and runtime helpers. Serialize a typed value into a compact JSON string.