refactor: rename DTree to DValue

This commit is contained in:
udo
2026-06-12 11:05:52 +00:00
parent 941f5aea08
commit 7066da3cde
157 changed files with 1203 additions and 1074 deletions
+2 -2
View File
@@ -46,12 +46,12 @@ Inside the handler, the usual `Request& context` fields are available:
CLI responses default to `text/plain; charset=utf-8`, but the handler may set headers and status explicitly.
Use `cli_input(context)` to merge query parameters, form parameters, and JSON POST fields into one `DTree`.
Use `cli_input(context)` to merge query parameters, form parameters, and JSON POST fields into one `DValue`.
```cpp
CLI(Request& context)
{
DTree input = cli_input(context);
DValue input = cli_input(context);
String action = first(input["action"].to_string(), "ping");
if(action == "ping")
{