cleanup, docs
This commit is contained in:
@@ -16,4 +16,8 @@ Looks up one child without creating it. The non-const overload forwards through
|
||||
|
||||
|
||||
:example
|
||||
print("DValue::key example\n");
|
||||
DValue user;
|
||||
user["email"] = "ada@example.test";
|
||||
const DValue* found = user.key("email");
|
||||
const DValue* missing = user.key("phone");
|
||||
print(found ? found->to_string() : "none", " / ", missing ? "present" : "absent", "\n");
|
||||
|
||||
Reference in New Issue
Block a user