[Development] QJsonDocument formatting
Thiago Macieira
thiago.macieira at intel.com
Sun Mar 3 22:26:58 CET 2013
On domingo, 3 de março de 2013 16.19.17, Matt Broadstone wrote:
> I'd like to propose a new method added to the QJsonDocument class:
> QJsonDocument::toFormattedJson(int indent, bool compact)
Too late. It's already there.
enum JsonFormat {
Indented,
Compact
};
QByteArray toJson() const; //### Merge in Qt6
QByteArray toJson(JsonFormat format) const;
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130303/58290bd6/attachment.sig>
More information about the Development
mailing list