You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[`valid/delimiter-scoping.toon`](valid/delimiter-scoping.toon) - Document vs active delimiter
56
+
- Shows that tabular row cells split only on the active delimiter
57
+
- Shows that object field values still follow document delimiter quoting rules
58
+
- Spec: §11.1 Delimiters (Encoding Rules)
59
+
55
60
### Key Folding and Path Expansion (v1.5+)
56
61
57
62
> Regenerate any of these examples via the reference CLI, e.g. `npx @toon-format/cli --encode --keyFolding safe examples/valid/key-folding-basic.json --output examples/valid/key-folding-basic.toon`.
- Deeply nested configuration data (server, database, logging settings)
124
-
- Regenerated with `keyFolding="safe"`; because most objects are multi-key, folding halts quickly and the output stays primarily nested (the **stop condition**)
133
+
- Regenerated with `keyFolding="safe"`; because most objects are multi-key, folding halts quickly and the output stays primarily nested (the stop condition)
125
134
- Shows ≈40-50% token reduction versus the JSON source while remaining spec-compliant
126
135
- Highlights how safe folding behaves when little or no folding is permitted
- Regenerated with `keyFolding="safe"`; multi-sibling branches like `data` and `meta` stay fully nested instead of becoming dotted keys (stop condition on display)
131
140
- Shows practical use case for serializing API responses while preserving deterministic structure
0 commit comments