"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from enum import Enum
from typing import overload
import PySide6.QtCore

bytes = str


class QJsonParseError(object):
    """
    https://doc.qt.io/qt-6/qjsonparseerror.html

    **Detailed Description**

    **See also** **JSON Support in Qt**  and **JSON Save Game Example** .
    """

    NoError: QJsonParseError.ParseError = ...
    UnterminatedObject: QJsonParseError.ParseError = ...
    MissingNameSeparator: QJsonParseError.ParseError = ...
    UnterminatedArray: QJsonParseError.ParseError = ...
    MissingValueSeparator: QJsonParseError.ParseError = ...
    IllegalValue: QJsonParseError.ParseError = ...
    TerminationByNumber: QJsonParseError.ParseError = ...
    IllegalNumber: QJsonParseError.ParseError = ...
    IllegalEscapeSequence: QJsonParseError.ParseError = ...
    IllegalUTF8String: QJsonParseError.ParseError = ...
    UnterminatedString: QJsonParseError.ParseError = ...
    MissingObject: QJsonParseError.ParseError = ...
    DeepNesting: QJsonParseError.ParseError = ...
    DocumentTooLarge: QJsonParseError.ParseError = ...
    GarbageAtEnd: QJsonParseError.ParseError = ...

    class ParseError(Enum):
        NoError: QJsonParseError.ParseError = ...
        UnterminatedObject: QJsonParseError.ParseError = ...
        MissingNameSeparator: QJsonParseError.ParseError = ...
        UnterminatedArray: QJsonParseError.ParseError = ...
        MissingValueSeparator: QJsonParseError.ParseError = ...
        IllegalValue: QJsonParseError.ParseError = ...
        TerminationByNumber: QJsonParseError.ParseError = ...
        IllegalNumber: QJsonParseError.ParseError = ...
        IllegalEscapeSequence: QJsonParseError.ParseError = ...
        IllegalUTF8String: QJsonParseError.ParseError = ...
        UnterminatedString: QJsonParseError.ParseError = ...
        MissingObject: QJsonParseError.ParseError = ...
        DeepNesting: QJsonParseError.ParseError = ...
        DocumentTooLarge: QJsonParseError.ParseError = ...
        GarbageAtEnd: QJsonParseError.ParseError = ...

    @overload
    def __init__(self) -> None:
        ...

    @overload
    def __init__(self, QJsonParseError: PySide6.QtCore.QJsonParseError) -> None:
        ...

    @staticmethod
    def __copy__() -> None:
        ...

    def errorString(self) -> str:
        """
        https://doc.qt.io/qt-6/qjsonparseerror.html#errorString

        **QString QJsonParseError::errorString() const**

        Returns the human-readable message appropriate to the reported JSON
        parsing error.

        **See also** **error** .
        """
        ...
