Skip to main content

encode

Function encode 

Source
pub fn encode(value: &Value) -> Result<String, ToonError>
Expand description

Encode a JSON value as TOON format.

§Errors

Returns ToonError if the toon-format crate fails to encode.