Your IP : 3.15.195.84


Current Path : /opt/alt/python312/lib64/python3.12/json/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/json/__pycache__/__init__.cpython-312.opt-2.pyc

�

�Q�f�6�
���	dZgd�ZdZddlmZmZddlmZddlZedd	d	d	ddd�
�Z	dd	d	d	dddddd�	d�Z
dd	d	d	dddddd�	d
�Zedd��Zd�Z
ddddddd�d�Zddddddd�d�Zy)z2.0.9)�dump�dumps�load�loads�JSONDecoder�JSONDecodeError�JSONEncoderzBob Ippolito <bob@redivi.com>�)rr)r�NFT)�skipkeys�ensure_ascii�check_circular�	allow_nan�indent�
separators�default)	rrr
r�clsrrr�	sort_keysc	���	|s(|r&|r$|r"|� |�|�|	�|
s|stj|�}n(|�t}|d|||||||	|
d�|��j|�}|D]}
|j|
��y�N)rrr
rrrrr�)�_default_encoder�
iterencoder�write)�obj�fprrr
rrrrrr�kw�iterable�chunks              �4/opt/alt/python312/lib64/python3.12/json/__init__.pyrrxs���(�T
���9�����:�+=���	�"�#�.�.�s�3���;��C��8��|�)�Y�v�!��y�8�57�8�9C�
�3��	���
������c	��	|s'|r%|r#|r!|�|�|�|�|	s|
stj|�S|�t}|d||||||||	d�|
��j|�Sr)r�encoder)rrrr
rrrrrrrs           rrr�s���'�R
���9�����:�+=���	�"��&�&�s�+�+�
�{�������%��6��w�)��
�	��f�S�k�	r )�object_hook�object_pairs_hookc�z�|j}|tjtjf�ry|tjtj
f�ry|tj�ryt|�dk\r"|ds	|drdSdS|ds|d	s|d
rdSdSy
t|�d	k(r|dsy|dsyy
)Nzutf-32zutf-16z	utf-8-sig�r
r	z	utf-16-bez	utf-32-be��z	utf-16-lez	utf-32-lezutf-8)�
startswith�codecs�BOM_UTF32_BE�BOM_UTF32_LE�BOM_UTF16_BE�BOM_UTF16_LE�BOM_UTF8�len)�b�bstartswiths  r�detect_encodingr3�s����,�,�K��F�'�'��)<�)<�=�>���F�'�'��)<�)<�=�>���6�?�?�#��
�1�v��{���t�#$�A�$�;�7�K�7���t�#$�A�$�!�A�$�;�?�K�?��

�Q��1����t����t��r �rr#�parse_float�	parse_int�parse_constantr$c
�F�	t|j�f||||||d�|��S)Nr4)r�read)rrr#r5r6r7r$rs        rrrsC���"�����R��[��9�%�9J�R�OQ�R�Rr c���	t|t�r|jd�r`td|d��t|tt
f�s"t
d|jj����|jt|�d�}|�!|�|�|�|�|�|stj|�S|�t}|�||d<|�||d<|�||d<|�||d	<|�||d
<|di|��j|�S)Nuz-Unexpected UTF-8 BOM (decode using utf-8-sig)r
z5the JSON object must be str, bytes or bytearray, not �
surrogatepassr#r$r5r6r7r)
�
isinstance�strr)r�bytes�	bytearray�	TypeError�	__class__�__name__�decoder3�_default_decoderr)�srr#r5r6r7r$rs        rrr+s(���@�!�S���<�<��!�!�"Q�"#�Q�(�
(��!�e�Y�/�0��#�#$�;�;�#7�#7�"8�:�;�
;�
�H�H�_�Q�'��9�����+���+�"5��"�'8�'@���&�&�q�)�)�
�{�����'��=���$�"3������'��=����#��;���!�-�����9��9���A��r )�__version__�__all__�
__author__�decoderrr�encoderrr*rrrrDr3rrrr r�<module>rKs���`�B����
-�
�1� �
��
���������$�$�t��D��$���<�~!�t�D��D��$���7�t�4�4�H���<�d���t�t�R�2�d���t�t�<r 

?>