ErrLookup › toon-format/toon

toon-format/toon

🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks. · TypeScript · 35 source files

Analyzed at 604eac266e on 2026-08-31. 42 documented errors.

Code / MessageTypeSeverityTags
Blank lines inside are not allowed in strict mode
exception error toon, strict-mode, decode, formatting
Expected list-form items, but found more
exception error toon, decode, validation, structure
Primitive event without preceding key in object
exception error streaming, events, toon, decoder
Cannot encode containing an unpaired surrogate U+ at index
exception error unicode, surrogate, encoding, toon
Top-level document must start with a key-value or…
exception error toon, decoder, strict-mode, malformed-input
Expected tabular rows, but found more
exception error toon, decode, validation, tabular
Expected , but got
exception error toon, strict-mode, decode, validation
Raw string must not contain a line starting with
exception error encoder, raw-string, input-validation, comment-marker
Unexpected bare token line outside root primitive position
exception error toon, decoder, strict-mode, malformed-input
Invalid array length
exception error syntax, toon, array-header, parser
Unterminated string: missing closing quote
exception error syntax, toon, string, quoting
result.strictError
exception error syntax, strict-mode, decoder, toon
Incomplete event stream: unclosed objects or arrays
exception error streaming, events, toon, truncation
result.reason
exception error toon, decoder, strict-mode, array-header, syntax
Unexpected content after nested field group
exception error syntax, toon, nested-fields, parser
Indentation depth jump: expected depth
exception error toon, decoder, strict-mode, indentation
Unexpected indentation inside keyed tabular object
exception error toon, decoder, strict-mode, indentation, tabular
Missing field name before nested field group
exception error syntax, toon, nested-fields, parser
error.message
exception error decoder, error-wrapping, toon
Unexpected content after the document root
exception error toon, decoder, strict-mode, trailing-content
Duplicate sibling key
exception error toon, decoder, strict-mode, duplicate-key
No root value built from events
exception error streaming, events, toon, empty-input
Invalid escape sequence: backslash at end of string
exception error decoder, escape-sequence, syntax-error, string-parsing
Expected list item
exception error toon, decoder, list, truncated-input
Unexpected characters after closing quote
exception error syntax, toon, string, quoting
Over-indented line: expected depth
exception error decoder, indentation, strict-mode, structure
Invalid delimiter . Valid delimiters are: comma (,), tab…
exception error configuration, options-validation, delimiter, typeerror
Expected entry row inside keyed tabular object
exception error toon, decoder, strict-mode, tabular, malformed-row
Unmatched brace in field list
exception error syntax, toon, nested-fields, parser
Invalid escape sequence: truncated \u escape at
exception error decoder, escape-sequence, unicode, syntax-error
Empty field name in field list
exception error syntax, toon, field-list, parser
Invalid escape sequence: \u
exception error decoder, unicode, surrogate, escape-sequence
Expected list item to start with
exception error toon, decoder, list, syntax
Object startObject event without preceding key
exception error event-stream, decoder, toon
Invalid escape sequence: \
exception error decoder, escape-sequence, syntax-error, string-parsing
Invalid escape sequence: \u must be followed by 4 hex…
exception error decoder, escape-sequence, unicode, hex
Array startArray event without preceding key
exception error event-stream, decoder, toon
Key event outside of object context
exception error event-stream, decoder, toon
Unexpected endObject event
exception error event-stream, decoder, toon
Mismatched endObject event
exception error event-stream, decoder, toon
Mismatched endArray event
exception error event-stream, decoder, toon
Unexpected endArray event
exception error event-stream, decoder, toon