Skip to main content

Module decode

Module decode 

Source

Modules§

decoders
event_builder
expand
parser
scanner
validation

Functions§

decode
Decode a TOON string into a JSON value.
decode_from_lines
Decode TOON lines into a JSON value.
decode_stream
Decode TOON lines into a stream of events asynchronously.
decode_stream_sync
Decode TOON lines into a stream of events.
try_decode
Try to decode a TOON string into a JSON value, returning a Result.
try_decode_from_lines
Try to decode TOON lines into a JSON value, returning a Result.
try_decode_stream
Try to decode TOON lines into a stream of events asynchronously, returning a Result.
try_decode_stream_sync
Try to decode TOON lines into a stream of events, returning a Result.