Skip to main content

decode_from_lines

Function decode_from_lines 

Source
pub fn decode_from_lines(
    lines: impl IntoIterator<Item = String>,
    options: Option<DecodeOptions>,
) -> JsonValue
Expand description

Decode TOON lines into a JSON value.

ยงPanics

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