Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qjsonparseerror.h
Go to the documentation of this file.
1
// Copyright (C) 2024 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
QJSONPARSEERROR_H
6
#
define
QJSONPARSEERROR_H
7
8
#
include
<
QtCore
/
qtconfigmacros
.
h
>
9
#
include
<
QtCore
/
qtcoreexports
.
h
>
10
#
include
<
QtCore
/
qtypes
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QString;
15
16
struct
Q_CORE_EXPORT
QJsonParseError
17
{
18
enum
ParseError {
19
NoError = 0,
20
UnterminatedObject,
21
MissingNameSeparator,
22
UnterminatedArray,
23
MissingValueSeparator,
24
IllegalValue,
25
TerminationByNumber,
26
IllegalNumber,
27
IllegalEscapeSequence,
28
IllegalUTF8String,
29
UnterminatedString,
30
MissingObject,
31
DeepNesting,
32
DocumentTooLarge,
33
GarbageAtEnd
34
};
35
36
QString errorString()
const
;
37
38
std::conditional_t<QT_VERSION_MAJOR < 7,
int
, qint64>
39
offset = -1;
40
ParseError error = NoError;
41
};
42
43
QT_END_NAMESPACE
44
45
#
endif
// QJSONPARSEERROR_H
QJsonParseError
\inmodule QtCore\reentrant
Definition
qjsonparseerror.h:17
qtbase
src
corelib
serialization
qjsonparseerror.h
Generated on
for Qt by
1.14.0