cleanup, docs

This commit is contained in:
root
2026-06-16 12:21:31 +00:00
parent dff1959341
commit ea08d5f28b
296 changed files with 1571 additions and 1940 deletions
+5 -3
View File
@@ -8,6 +8,7 @@ t : DValue object to be serialized
return value : string containing the JSON result
:see
>string
>types
json_decode
0_DValue
@@ -21,7 +22,8 @@ When passed a `String`, `json_encode()` returns a quoted and escaped JSON string
When passed a `DValue`, scalar values are serialized directly and nested map values are emitted as JSON objects.
Related:
- PHP: `json_encode()`
- JavaScript / Node.js: `JSON.stringify()`
:example
DValue value;
value["name"] = "Ada";
print(json_encode(value), "\n");