Makes it easier to pull out data from a document when the structure is known up front, while still supporting default values if the structure does not match the expectation, eg: int age = QJsonDocument::fromJson(ba)["users"][0]["age"].toInt(-1); Change-Id: Ief0899bbb81610f6f22a56e2ac846121bffe77a0 Reviewed-by: Lars Knoll <lars.knoll@qt.io> |
||
|---|---|---|
| .. | ||
| invalidBinaryData | ||
| bom.json | ||
| json.pro | ||
| json.qrc | ||
| test.bjson | ||
| test.json | ||
| test2.json | ||
| test3.json | ||
| tst_qtjson.cpp | ||