docs: update quick reference

This commit is contained in:
Johann Schopplich
2025-10-22 22:37:49 +02:00
parent 1e47495465
commit 07b082dc61

View File

@@ -609,14 +609,14 @@ When incorporating TOON into your LLM workflows:
// Mixed / non-uniform (list) // Mixed / non-uniform (list)
{ items: [1, { a: 1 }, 'x'] } → items[3]: { items: [1, { a: 1 }, 'x'] } → items[3]:
- 1 - 1
- a: 1 - a: 1
- x - x
// Array of arrays // Array of arrays
{ pairs: [[1, 2], [3, 4]] } → pairs[2]: { pairs: [[1, 2], [3, 4]] } → pairs[2]:
- [2]: 1,2 - [2]: 1,2
- [2]: 3,4 - [2]: 3,4
// Root array // Root array
['x', 'y'] → [2]: x,y ['x', 'y'] → [2]: x,y