Files
marqdo/lib/json.mq.md
T
cflmyandCursor bfb10d172b feat(markup): adopt v0.3 as sole mapping (** code, * return)
Make prose-unified Markup the only runtime: bold segments are executable,
italic is return, params can be inferred from body/prose, with no v0.2 dual
mode. Migrate lib and structure/keywords golds; gate on tests/markup-v03.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 20:38:53 +08:00

45 lines
610 B
Markdown

---
title: lib/json
description: JSON parse/stringify (shared EN/ZH import)
---
## parse
+ `text`
*> host_json_parse text=`text`*
## stringify
+ `value`
+ `indent`=None
*> host_json_stringify value=`value` indent=`indent`*
## 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`*