Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qjsonwriter_p.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:header-decls-only
4
5
#
ifndef
QJSONWRITER_P_H
6
#
define
QJSONWRITER_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
20
#
include
<
qjsonvalue
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
namespace
QJsonPrivate
25
{
26
27
class
Writer
28
{
29
public
:
30
static
void
objectToJson
(
const
QCborContainerPrivate
*o, QByteArray &json,
int
indent,
bool
compact =
false
);
31
static
void
arrayToJson
(
const
QCborContainerPrivate
*a, QByteArray &json,
int
indent,
bool
compact =
false
);
32
static
void
valueToJson
(
const
QCborValue &v, QByteArray &json,
int
indent,
bool
compact =
false
);
33
};
34
35
}
36
37
QT_END_NAMESPACE
38
39
#
endif
QCborContainerPrivate
Definition
qcborvalue_p.h:101
QJsonDocument
\inmodule QtCore\reentrant
Definition
qjsondocument.h:29
QJsonPrivate::Writer
Definition
qjsonwriter_p.h:28
QJsonPrivate::Writer::valueToJson
static void valueToJson(const QCborValue &v, QByteArray &json, int indent, bool compact=false)
Definition
qjsonwriter.cpp:210
QJsonPrivate::Writer::objectToJson
static void objectToJson(const QCborContainerPrivate *o, QByteArray &json, int indent, bool compact=false)
Definition
qjsonwriter.cpp:192
QJsonPrivate::Writer::arrayToJson
static void arrayToJson(const QCborContainerPrivate *a, QByteArray &json, int indent, bool compact=false)
Definition
qjsonwriter.cpp:201
QJsonPrivate
Definition
qcborarray.h:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
comparesEqual
bool comparesEqual(const QJsonArray &lhs, const QJsonValue &rhs)
Definition
qjsonarray.cpp:497
operator>>
QDataStream & operator>>(QDataStream &stream, QJsonArray &array)
Definition
qjsonarray.cpp:1100
comparesEqual
bool comparesEqual(const QJsonArray &lhs, const QJsonArray &rhs)
Definition
qjsonarray.cpp:478
qHash
size_t qHash(const QJsonArray &array, size_t seed)
Definition
qjsonarray.cpp:1072
qtbase
src
corelib
serialization
qjsonwriter_p.h
Generated on
for Qt by
1.18.0