# encoding: utf-8
# module orjson.orjson
# from C:\Programs\Python\Python313\Lib\site-packages\orjson\orjson.cp313-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import json.decoder as __json_decoder


# Variables with simple values

OPT_APPEND_NEWLINE = 1024

OPT_INDENT_2 = 1

OPT_NAIVE_UTC = 2

OPT_NON_STR_KEYS = 4

OPT_OMIT_MICROSECONDS = 8

OPT_PASSTHROUGH_DATACLASS = 2048
OPT_PASSTHROUGH_DATETIME = 512
OPT_PASSTHROUGH_SUBCLASS = 256

OPT_SERIALIZE_DATACLASS = 0
OPT_SERIALIZE_NUMPY = 16
OPT_SERIALIZE_UUID = 0

OPT_SORT_KEYS = 32

OPT_STRICT_INTEGER = 64

OPT_UTC_Z = 128

__version__ = '3.10.16'

# functions

def dumps(*args, **kwargs): # real signature unknown
    """ Serialize Python objects to JSON. """
    pass

def loads(*args, **kwargs): # real signature unknown
    """ Deserialize JSON to Python objects. """
    pass

# classes

class Fragment(object):
    # no doc
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass


class JSONDecodeError(__json_decoder.JSONDecodeError):
    # no doc
    def __init__(self, msg, doc, pos): # reliably restored by inspect
        # no doc
        pass


class JSONEncodeError(Exception):
    """ Inappropriate argument type. """
    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x000002A95CA49260>'

__spec__ = None # (!) real value is "ModuleSpec(name='orjson.orjson', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x000002A95CA49260>, origin='C:\\\\Programs\\\\Python\\\\Python313\\\\Lib\\\\site-packages\\\\orjson\\\\orjson.cp313-win_amd64.pyd')"

