Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
json.encode と同じ function を使って Lua value を JSON string に serialize します。
json.stringify(value: any, options?: EncodeOptions): string
value
any
options
EncodeOptions
json
string
pretty
boolean
sortKeys
emptyTableAsArray
errorOnUnsupported
encodeInvalidNumbersAsNull
maxDepth
integer
indent
local text = json.stringify({ status = "ready", count = 3, tags = json.array({ "stringify", "alias" }), missing = json.null, }, { sortKeys = true, }) print(text)