pub fn to_toon_string<T: Serialize>(value: &T) -> Result<String, Error>
Encode any Serialize type as a TOON string.
Serialize
Internally converts to serde_json::Value first, then encodes as TOON.
serde_json::Value