nu_json::ser

Function to_string

Source
pub fn to_string<T>(value: &T) -> Result<String>
where T: Serialize,
Expand description

Encode the specified struct into a Hjson String buffer.