📅  最后修改于: 2022-03-11 14:55:59.541000             🧑  作者: Mango
assert(`{"ak": {"sub": "subval"} }`.parseJson["ak", "sub"] == "subval");
auto a = `[{"items":[{"t1":"t1","hostname":"h1","pool":"p1","characterizations":[{"characteristicValue":"a,a.com,nam"},{"characteristicValue":"000"}]},]}]`.parseJson["items", "t1"]);
writeln(a);