cleanup, docs
This commit is contained in:
@@ -13,6 +13,6 @@ return value : pointer to the child node
|
||||
:content
|
||||
Ensures the value is map-shaped and returns the named child. If the key does not exist, an empty child is created. Creating a non-numeric key on a list-shaped value clears list mode.
|
||||
|
||||
```cpp
|
||||
payload.get_or_create("headers")->get_or_create("Content-Type")->set("text/plain");
|
||||
```
|
||||
|
||||
:example
|
||||
print("DValue::get_or_create example\n");
|
||||
|
||||
Reference in New Issue
Block a user