Function decode
Source pub fn decode(
input: &str,
options: Option<&DecodeOptions>,
) -> Result<Value, Error>
Expand description
Decode a TOON-formatted string to a JSON value
§Arguments
input - The TOON-formatted string to decode
options - Optional decoding options
§Returns
A Result containing the decoded JSON value or an error