diff options
author | Jean-Paul Delimat <jp.delimat@gmail.com> | 2012-12-28 01:23:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-26 03:09:27 +0100 |
commit | 4bb5566632ea6510c67fb8cf28cfe7dd4801488f (patch) | |
tree | eea1eef7e3a4e0e5f250c84f1b84f16a5fefa667 /src/corelib/xml/qxmlstream.cpp | |
parent | e335fb7254ad6c2ce08eda0d092ea524a302c2e0 (diff) |
Add toJson() formatting argument to QJsonDocument interface
The writer delegate used by QJsonDocument to produce a Json QByteArray
supports generating a human readable Json (with spaces and carriage
returns that reflect the Json structure) and a less human readable (no
spaces nor carriage returns) but more compact Json.
The method toJson() was extended with a format argument to support
the compact Json generation.
Task-number: QTBUG-28815
Change-Id: I8d13849ab9ab6ed7c645011260251dc14a8629d2
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Debao Zhang <hello@debao.me>
Diffstat (limited to 'src/corelib/xml/qxmlstream.cpp')
0 files changed, 0 insertions, 0 deletions