mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 23:34:10 +08:00
docs: update quick reference
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user