Files
marqdo/lib/json.mq.md
T
cflmyandCursor 92d88fe761 Move LLM and agent into ext/ai with host tool catalog and call_fn.
Consolidate official AI extensions under ext/ai/, add agent history/context host APIs, dynamic call_fn, and a first-pass TOOL:name loop so runbooks can list zero-arg tools in a table.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:28:39 +08:00

44 lines
566 B
Markdown

---
title: lib/json
description: JSON parse/stringify (shared EN/ZH import)
---
## parse
- text
**> host_json_parse text=`text`**
## stringify
- value
**> host_json_stringify value=`value`**
## get
- value
- key
**> host_json_get value=`value` key=`key`**
## keys
- value
**> host_json_keys value=`value`**
## quote
- text
**> host_json_quote text=`text`**
## set
- map
- key
- value
**> host_map_set map=`map` key=`key` value=`value`**
## append
- list
- item
**> host_list_append list=`list` item=`item`**