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:
@@ -592,11 +592,11 @@ When incorporating TOON into your LLM workflows:
|
|||||||
```
|
```
|
||||||
// Object
|
// Object
|
||||||
{ id: 1, name: 'Ada' } → id: 1
|
{ id: 1, name: 'Ada' } → id: 1
|
||||||
name: Ada
|
name: Ada
|
||||||
|
|
||||||
// Nested object
|
// Nested object
|
||||||
{ user: { id: 1 } } → user:
|
{ user: { id: 1 } } → user:
|
||||||
id: 1
|
id: 1
|
||||||
|
|
||||||
// Primitive array (inline)
|
// Primitive array (inline)
|
||||||
{ tags: ['a', 'b'] } → tags[2]: a,b
|
{ tags: ['a', 'b'] } → tags[2]: a,b
|
||||||
|
|||||||
Reference in New Issue
Block a user