qt5base-lts/tests/auto/corelib/json
Tor Arne Vestbø c3a115b90d json: Add operator[] to QJsonDocument for implicit object and array access
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>
2017-06-08 11:23:55 +00:00
..
invalidBinaryData Improve the validation algorithm for binary JSON 2016-11-11 12:34:27 +00:00
bom.json Correctly parse json documents with a leading BOM 2012-05-10 13:50:35 +02:00
json.pro macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
json.qrc Android: Fix json test. 2014-12-22 08:32:39 +01:00
test2.json Import json support from playground/qtbinaryjson 2012-01-24 15:28:20 +01:00
test3.json Add the missing test file and give it a proper name. 2012-01-30 18:48:28 +01:00
test.bjson Sanitize JSON test data 2015-12-16 08:54:57 +00:00
test.json Sanitize JSON test data 2015-12-16 08:54:57 +00:00
tst_qtjson.cpp json: Add operator[] to QJsonDocument for implicit object and array access 2017-06-08 11:23:55 +00:00