Expand description
Whitespace-only formatting for strict JSON token streams.
Structs§
- Json
Pretty Error - Error from validating, planning, or writing formatted JSON tokens.
- Json
Pretty Options - Controls indentation and the optional final newline in pretty output.
- Json
Pretty Options Builder - Builder for whitespace formatting choices.
Enums§
- Json
Pretty Error Kind - Stable category for a token formatting failure.
Functions§
- format_
json_ tokens - Validates and pretty-prints JSON while preserving source token spelling.
- write_
json_ tokens - Validates and plans the full document before writing to the supplied output.