pub fn encode(value: &Value) -> Result<String, ToonError>
Encode a JSON value as TOON format.
Returns ToonError if the toon-format crate fails to encode.
ToonError
toon-format