summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2018-07-23 10:50:31 +0200
committerPaul Wicking <paul.wicking@qt.io>2018-07-23 09:31:23 +0000
commitb616a8a8cda9a5e8ee9055f4835fd0d080bb6933 (patch)
tree8c760b8a2379e7e136bce948f1932691087ac9b1
parenta7bcd16c750fb2ed36522719237af8ce3be94fa2 (diff)
Doc: Add since version for QJsonDocument::toJson()
Task-number: QTBUG-69527 Change-Id: I10df9cc2d6fa2080e07d68b78c6220500f459380 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Luca Beldi <v.ronin@yahoo.it>
-rw-r--r--src/corelib/serialization/qjsondocument.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/serialization/qjsondocument.cpp b/src/corelib/serialization/qjsondocument.cpp
index e24dc43b1d..5018f7c267 100644
--- a/src/corelib/serialization/qjsondocument.cpp
+++ b/src/corelib/serialization/qjsondocument.cpp
@@ -369,6 +369,7 @@ QByteArray QJsonDocument::toJson() const
*/
/*!
+ \since 5.1
Converts the QJsonDocument to a UTF-8 encoded JSON document in the provided \a format.
\sa fromJson(), JsonFormat