Skip to main content

decode

Function decode 

Source
pub fn decode(input: &str, options: Option<DecodeOptions>) -> JsonValue
Expand description

Decode a TOON string into a JSON value.

ยงPanics

Panics if decoding fails due to malformed input or strict-mode validation errors. Use try_decode for a fallible version that returns Result.