Skip to main content

Module json

Module json 

Source
Expand description

Borrowed JSON events share one grammar without choosing a numeric or object representation.

Structs§

JsonEvent
JsonReader
Iterative structural decoding charges its nesting stack before allocation. Event payloads borrow the input; consumers own and charge their chosen value representation separately.

Enums§

JsonReadError
JsonToken

Functions§

decode_json_string
Decode one quoted JSON string under a shared allowance, retaining its actual destination capacity.
decode_json_string_with_control
Decode with the existing token grammar and one admitted string constructor. Both cancellation owners are checked during validation and output; no parser-owned escape scratch or second output string is allocated.