| Server IP : 185.143.233.238 / Your IP : 185.215.232.195 Web Server : nginx/1.22.1 System : Linux server2065 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64 User : www-data ( 33) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/1053096/cwd/lib/python3.11/json/__pycache__/ |
Upload File : |
�
��h�0 � � � d Z ddlZddlmZ ddlmZ n
# e$ r dZY nw xY wddgZej ej
z ej z Z e
d� � Z e
d� � Z e
d � � Z G d
� de� � Zeeed�Z ej de� � Zd
dddddddd�Zd� Zdeej fd�ZepeZ ej de� � ZdZdej efd�Zej efd�Z G d� de� � ZdS )zImplementation of JSONDecoder
� N)�scanner)�
scanstring�JSONDecoder�JSONDecodeError�nan�infz-infc � � e Zd ZdZd� Zd� ZdS )r a Subclass of ValueError with the following additional properties:
msg: The unformatted error message
doc: The JSON document being parsed
pos: The start index of doc where parsing failed
lineno: The line corresponding to pos
colno: The column corresponding to pos
c � � |� dd|� � dz }||� dd|� � z
}d||||fz }t � | |� � || _ || _ || _ || _ || _ d S )N�
r � z%s: line %d column %d (char %d)) �count�rfind�
ValueError�__init__�msg�doc�pos�lineno�colno)�selfr r r r r �errmsgs �#/usr/lib/python3.11/json/decoder.pyr zJSONDecodeError.__init__ s� � ����4��C�(�(�1�,���c�i�i��a��-�-�-��2�c�6�5�#�5N�N�����D�&�)�)�)���������������
�
�
� c �8 � | j | j | j | j ffS )N)� __class__r r r )r s r �
__reduce__zJSONDecodeError.__reduce__* s � ��~���$�(�D�H�=�=�=r N)�__name__�
__module__�__qualname__�__doc__r r � r r r r s<