changing doc format and HTML literals

This commit is contained in:
udo
2026-04-22 01:56:46 +00:00
parent 8223dcc6b3
commit f7b066b374
123 changed files with 1917 additions and 1611 deletions
+5 -4
View File
@@ -7,13 +7,14 @@ s : string to encode as a JSON string literal
t : DTree object to be serialized
return value : string containing the JSON result
:desc
:content
Serializes either a `String` or a `DTree` into JSON notation.
When passed a `String`, `json_encode()` returns a quoted and escaped JSON string literal.
When passed a `DTree`, scalar values are serialized directly and nested map values are emitted as JSON objects.
:related
**PHP:** `json_encode()`
**JavaScript / Node.js:** `JSON.stringify()`
Related:
- PHP: `json_encode()`
- JavaScript / Node.js: `JSON.stringify()`