Your IP : 18.117.254.202


Current Path : /opt/alt/python311/lib64/python3.11/json/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/json/__pycache__/__init__.cpython-311.opt-2.pyc

�

c��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�ZdS)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|st�|��}n-|�t}|d|||||||	|
d�|���|��}|D]}
|�|
���dS�N)rrr
rrrrr�)�_default_encoder�
iterencoder�write)�obj�fprrr
rrrrrr�kw�iterable�chunks              �4/opt/alt/python311/lib64/python3.11/json/__init__.pyrrxs���(�T
�H��H��H�$�H�����:�+=���	��"��#�.�.�s�3�3����;��C��3�8��|�)�Y�v�!��y�8�8�57�8�8�9C�
�3���	�����
����������c	��	|s,|r*|r(|r&|�$|�"|� |�|	s|
st�|��S|�t}|d||||||||	d�|
���|��Sr)r�encoder)rrrr
rrrrrrrs           rrr�s���'�R
�,��,��,�$�,�����:�+=���	��"���&�&�s�+�+�+�
�{����3����%��6��w�)���
�	���f�S�k�k�	r )�object_hook�object_pairs_hookc��|j}|tjtjf��rdS|tjtjf��rdS|tj��rdSt|��dkr1|ds|drdndS|ds|d	s|d
rdndSn't|��d	kr|dsdS|dsdSd
S)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�'��)<�=�>�>���x��{�F�'��)<�=�>�>���x��{�6�?�#�#���{�
�1�v�v��{�{���t�	8�#$�A�$�7�;�;�K�7���t�	@�#$�A�$�?�!�A�$�?�;�;�K�?�		@�


�Q���1�����t�	��;���t�	��;��7r �rr#�parse_float�	parse_int�parse_constantr$c
�P�	t|���f||||||d�|��S)Nr4)r�read)rrr#r5r6r7r$rs        rrrsQ���"������R��[��9�%�9J�R�R�OQ�R�R�Rr c��	t|t��r'|�d��rtd|d���n[t|tt
f��st
d|jj�����|�	t|��d��}|�&|�$|�"|� |�|�|st�	|��S|�t}|�||d<|�||d<|�||d<|�||d	<|�||d
<|di|���	|��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+sa���@�!�S���:��<�<��!�!�	(�!�"Q�"#�Q�(�(�
(�	(��!�e�Y�/�0�0�	;��:�#$�;�#7�:�:�;�;�
;�
�H�H�_�Q�'�'��9�9�����+���+�"5��"�'8�'@��'@��&�&�q�)�)�)�
�{�����'��=���$�"3������'��=����#��;���!�-�����3�9�9��9�9���A���r )�__version__�__all__�
__author__�decoderrr�encoderrr*rrrrDr3rrrr r�<module>rKss��`�B������
-�
�1�1�1�1�1�1�1�1� � � � � � �
�
�
�
��;�
�����������$�$�t��D��$���<�<�<�<�<�~!�t�D��D��$���7�7�7�7�7�t�;�4�4�H�H�H�����<�d���t�t�R�R�R�R�R�2�d���t�t�<�<�<�<�<�<�<r 

?>