Files
marqdo/public/stdlib/json.mq.md
T
cflmyandCursor d5a9301c7f docs(public): finish stdlib bracket-call demos and fix import returns
Prefer [lib.fn] in remaining public/stdlib samples, correct italic returns in structure import modules, and keep lib/系统 narration from starting with backticks.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 13:32:17 +08:00

18 lines
428 B
Markdown

---
title: lib/json — JSON
description: Shared EN/ZH path; parse and stringify (code-as-docs pilot)
import json:lib/json.mq.md
---
# main
Shared JSON helpers for EN and ZH docs. Prefer parse, stringify, and quote.
Build maps with tables or table.put — not json.set chains.
**`obj` = [json.parse] text="{}"**
**`ty` = [type] `obj`**
**打印 内容=`ty`**
**`out` = [json.stringify] value=`obj`**
**打印 内容=`out`**