Skip to main content

to_toon_string

Function to_toon_string 

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

Encode any Serialize type as a TOON string.

Internally converts to serde_json::Value first, then encodes as TOON.