@toon-format/spec 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# TOON Format Specification
|
|
2
2
|
|
|
3
3
|
[](./SPEC.md)
|
|
4
|
-
[](./tests/fixtures/)
|
|
5
5
|
[](./LICENSE)
|
|
6
6
|
|
|
7
7
|
This repository contains the official specification for **Token-Oriented Object Notation (TOON)**, a compact, human-readable serialization format designed for passing structured data to Large Language Models with significantly reduced token usage.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toon-format/spec",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"packageManager": "pnpm@10.19.0",
|
|
6
6
|
"description": "Official specification for Token-Oriented Object Notation (TOON)",
|
|
7
7
|
"author": "Johann Schopplich <hello@johannschopplich.com>",
|
|
@@ -198,17 +198,17 @@
|
|
|
198
198
|
{
|
|
199
199
|
"name": "encodes folded chains preserving sibling field order",
|
|
200
200
|
"input": {
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"
|
|
201
|
+
"first": {
|
|
202
|
+
"second": {
|
|
203
|
+
"third": 1
|
|
204
204
|
}
|
|
205
205
|
},
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"
|
|
206
|
+
"simple": 2,
|
|
207
|
+
"short": {
|
|
208
|
+
"path": 3
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
|
-
"expected": "
|
|
211
|
+
"expected": "first.second.third: 1\nsimple: 2\nshort.path: 3",
|
|
212
212
|
"options": {
|
|
213
213
|
"keyFolding": "safe"
|
|
214
214
|
},
|