jsonok
Structure
importjson:lib/json.mq.md
fn · h1main
comment
bind
`obj` = [json.parse] text={}bind
`ty` = [type] `obj`call
> 打印 内容=`ty`bind
`out` = [json.stringify] value=`obj`call
> 打印 内容=`out`Functions
Variables
-
obj map · 0
key value ∅ -
out text{}{}
-
ty textmapmap
Execution
map
{}
Source
---
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`**
Shared JSON helpers for EN and ZH docs. Prefer parse, stringify, and quote. Build maps with tables or table.put — not json.set chains.