Your IP : 18.218.94.236


Current Path : /opt/alt/python39/lib64/python3.9/json/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/json/__pycache__/__init__.cpython-39.opt-2.pyc

a

R�f�6�
@s�dZgd�ZdZddlmZmZddlmZddlZedd	d	d	dddd
�Z	dd	d	d	dddddd�	dd
�Z
dd	d	d	dddddd�	dd�Zeddd�Zdd�Z
ddddddd�dd�Zddddddd�dd�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)	r
rrr
�clsrrr�	sort_keysc	Ks�|sD|rD|rD|rD|durD|durD|durD|	durD|
sD|sDt�|�}n2|durPt}|f|||||||	|
d�|���|�}|D]}
|�|
�qzdS�N)r
rrr
rrrr)�_default_encoder�
iterencoder�write)�obj�fpr
rrr
rrrrr�kw�iterable�chunk�r�2/opt/alt/python39/lib64/python3.9/json/__init__.pyrxs>-�����������rc	Kst|sB|rB|rB|rB|durB|durB|durB|durB|	sB|
sBt�|�S|durNt}|f||||||||	d�|
���|�Sr)r�encoder)rr
rrr
rrrrrrrrrr�s:,��������
���r)�object_hook�object_pairs_hookcCs�|j}|tjtjf�rdS|tjtjf�r.dS|tj�r<dSt|�dkr�|ds`|dr\dSdS|ds�|d	sx|d
r|dSdSn$t|�d	kr�|ds�dS|ds�dSd
S)Nzutf-32zutf-16z	utf-8-sig�r	rz	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)�bZbstartswithrrr�detect_encoding�s$
r-�rr�parse_float�	parse_int�parse_constantr c	Ks"t|��f||||||d�|��S)Nr.)r�read)rrrr/r0r1r rrrrrs
��rcKst|t�r"|�d�rRtd|d��n0t|ttf�sBtd|jj����|�	t
|�d�}|dur�|dur�|dur�|dur�|dur�|dur�|s�t�	|�S|dur�t}|dur�||d<|dur�||d<|dur�||d<|dur�||d	<|dur�||d
<|fi|���	|�S)Nuz-Unexpected UTF-8 BOM (decode using utf-8-sig)r	z5the JSON object must be str, bytes or bytearray, not �
surrogatepassrr r/r0r1)
�
isinstance�strr$r�bytes�	bytearray�	TypeError�	__class__�__name__�decoder-�_default_decoderr)�srrr/r0r1r rrrrr+sF"

�������
r)�__version__�__all__�
__author__�decoderrr�encoderrr%rrrr<r-rrrrrr�<module>bs<�
�?�:��

?>