| Server IP : 138.197.176.125 / Your IP : 216.73.217.55 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/simplejson/__pycache__/ |
Upload File : |
U
�O5[�o �
@ s: d Z ddlmZ ddlZddlmZ ddlZddlmZm Z m
Z
mZmZm
Z
dd� Ze� \ZZdd lmZ dd
lmZ e�d�Ze�d�Ze�d
�Zdddddddd�Zed�D ]Ze�ee�def � q�eZe
dfdd�Z e
fdd�Z!ep�e!Z"G dd� de#�Z$G dd � d e$�Z%e
e&ede'e(e)ee*e+e,e-e.f
d!d"�Z/dS )#zImplementation of JSONEncoder
� )�absolute_importN)�
itemgetter� )�unichr�binary_type� text_type�string_types�
integer_types�PY3c C s6 zddl m} | j| jfW S tk
r0 Y dS X d S )Nr �� _speedups)NN)� r �encode_basestring_asciiZmake_encoder�ImportErrorr � r �4/usr/lib/python3/dist-packages/simplejson/encoder.py�_import_speedups s
r )�PosInf)�RawJSONz[\x00-\x1f\\"]z([\\"]|[^\ -~])z[\x80-\xff]z\\z\"z\bz\fz\nz\rz\t)�\�"���
�
� � �\u%04xr c C s� |r2t | t�rt| d�} q�t| �tk r�t�| �} nXt | t�rVt�| �dk rVt| d�} n4t| �ttfkr�t | t�r|t�| �} nt�| �d } dd� }|t �
|| � | S )z5Return a JSON representation of a Python string
�utf-8Nr c S s t | �d� S )Nr )�
ESCAPE_DCT�group)�matchr r r �replace<