Expand description
Creation, parsing, validation and serialization of lossless sidecar documents.
Structs§
- Sidecar
Document Error - The JS boundary decodes this JSON string to retain any lone code units in diagnostics. Display remains usable by native callers with scalar strings.
Enums§
Functions§
- create_
sidecar - Native scalar callers retain the existing input and error types.
- create_
sidecar_ document - Normalize and validate without projecting JS strings through scalar-only JSON.
- parse_
ordered_ json - Parse wire JSON while retaining JavaScript strings and enumeration order.
- parse_
sidecar - Syntax diagnostics are host-specific; structural diagnostics retain their order.
- serialize_
sidecar - validate_
sidecar_ document - Ordered JS diagnostics as a lossless JSON value, suitable for host decoding.