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
11
QT_BEGIN_NAMESPACE
12
13
class
QString;
14
15
struct
Q_CORE_EXPORT
QJsonParseError
16
{
17
enum
ParseError {
18
NoError = 0,
19
UnterminatedObject,
20
MissingNameSeparator,
21
UnterminatedArray,
22
MissingValueSeparator,
23
IllegalValue,
24
TerminationByNumber,
25
IllegalNumber,
26
IllegalEscapeSequence,
27
IllegalUTF8String,
28
UnterminatedString,
29
MissingObject,
30
DeepNesting,
31
DocumentTooLarge,
32
GarbageAtEnd
33
};
34
35
QString errorString()
const
;
36
37
int
offset = -1;
38
ParseError error = NoError;
39
};
40
41
QT_END_NAMESPACE
42
43
#
endif
// QJSONPARSEERROR_H
QJsonParseError
\inmodule QtCore\reentrant
Definition
qjsonparseerror.h:16
qtbase
src
corelib
serialization
qjsonparseerror.h
Generated on
for Qt by
1.14.0