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
@@ -6,12 +6,14 @@ quote_char : quote character passed to string escaping
return value : JSON-ish scalar representation
:see
>types
0_DValue
json_encode
:content
Returns the JSON scalar representation used by this low-level method: strings are escaped and quoted, numbers are emitted with `std::to_string`, bools as `true`/`false`, maps as `"(array)"`, pointers as `"(pointer)"`, and references as `"(reference)"`. For full structured encoding, use the runtime JSON helpers.
```cpp
print(context.props["title"].to_json());
```
:example
DValue value;
value = "Ada";
print(value.to_json(), "\n");