PythonQt.QtCore.QJsonParseError · declarations 001
Back to PythonQt.QtCore.QJsonParseError
DeepNesting
instance-attribute
DeepNesting: Any
DocumentTooLarge
instance-attribute
DocumentTooLarge: Any
GarbageAtEnd
instance-attribute
GarbageAtEnd: Any
IllegalEscapeSequence
instance-attribute
IllegalEscapeSequence: Any
IllegalNumber
instance-attribute
IllegalNumber: Any
IllegalUTF8String
instance-attribute
IllegalUTF8String: Any
IllegalValue
instance-attribute
IllegalValue: Any
MissingNameSeparator
instance-attribute
MissingNameSeparator: Any
MissingObject
instance-attribute
MissingObject: Any
MissingValueSeparator
instance-attribute
MissingValueSeparator: Any
ParseError
instance-attribute
ParseError: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
TerminationByNumber
instance-attribute
TerminationByNumber: Any
UnterminatedArray
instance-attribute
UnterminatedArray: Any
UnterminatedObject
instance-attribute
UnterminatedObject: Any
UnterminatedString
instance-attribute
UnterminatedString: Any
error
instance-attribute
error: Any
errorString
errorString() -> str
X.errorString() -> str
Supplemental documentation: Qt 5 reference:
QString QJsonParseError::errorString() const
Returns the human-readable message appropriate to the reported JSON parsing error.
See also error.
Upstream PySide2 reference signatures (binding differences may apply):
errorString(self) -> str
Source: https://doc.qt.io/archives/qt-5.15/qjsonparseerror.html#errorString
offset
instance-attribute
offset: Any