docs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
:sig
|
||||
StringMap DValue::to_stringmap() const
|
||||
|
||||
:params
|
||||
return value : StringMap copy of the value
|
||||
|
||||
:see
|
||||
0_DValue
|
||||
0_StringMap
|
||||
2_DValue_to_string
|
||||
|
||||
: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();
|
||||
```
|
||||
Reference in New Issue
Block a user