Skip to main content

Module decode

Module decode 

Source
Expand description

Decoder Implementation

Modules§

expansion
parser
scanner
validation

Functions§

decode
Decode a TOON string into any deserializable type.
decode_default
Decode with default options (strict mode, type coercion enabled).
decode_no_coerce
Decode without type coercion (strings remain strings).
decode_no_coerce_with_options
Decode without type coercion and with additional options.
decode_strict
Decode with strict validation enabled (validates array lengths, indentation).
decode_strict_with_options
Decode with strict validation and additional options.