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
+6 -3
View File
@@ -5,6 +5,7 @@ StringMap DValue::to_stringmap() const
return value : StringMap copy of the value
:see
>types
0_DValue
0_StringMap
2_DValue_to_string
@@ -12,6 +13,8 @@ return value : StringMap copy of the value
:content
Converts a `DValue` to `StringMap`. Map children become entries converted with `to_string()`. Non-empty strings become `value=<string>`. f64, bool, and pointer values become `value=<to_string()>`. References that cannot be resolved produce an empty map.
```cpp
StringMap headers = context.call["headers"].to_stringmap();
```
:example
DValue user;
user["name"] = "Ada";
StringMap fields = user.to_stringmap();
print(fields["name"], "\n");