diff options
author | Alexei Rousskikh <ext-alexei.rousskikh@nokia.com> | 2012-03-12 14:33:39 -0400 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-12 21:38:51 +0100 |
commit | 612040a0cd702e4c764e5cbb5d0c091497650c6a (patch) | |
tree | a47186f97ae77e71495c4e6b3765a2d9d5236491 /tests/auto/platformquirks.h | |
parent | 0353430806fb14b438cf7d68c68d8cdbcb57ef45 (diff) |
Trailing comma should result in an error during JSON parsing
1. QJsonParseError::MissingObject defined
2. QJsonDocument::fromJson() will result in defined error after parsing
of something like "{ 'key':1 , }" or "[ {'key':1}, ]"
Change-Id: I8e6234a03b8aca4e5ad6180f273f91066b86d7a1
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/platformquirks.h')
0 files changed, 0 insertions, 0 deletions