python (3.12.0)
̑e0 d Z ddlZddlmZ ddlmZ ddgZej ej z ej z Z e
d Z e
d Z e
d Z G d
de ZeeedZ ej( de Zd
ddddddddZd Zdeej0 fdZexs eZ ej( de ZdZdej0 efdZej0 efdZ G d de Zy# e$ r dZY w xY w)zImplementation of JSONDecoder
N)scanner)
scanstringJSONDecoderJSONDecodeErrornaninfz-infc e Zd ZdZd Zd Zy)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 |j dd| dz }||j dd| z
}d||||fz }t j | | || _ || _ || _ || _ || _ y )N
r z%s: line %d column %d (char %d)) countrfind
ValueError__init__msgdocposlinenocolno)selfr r r r r errmsgs @/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/json/decoder.pyr zJSONDecodeError.__init__ sv 4C(1,ciia--2c65#5NND&)
c ` | j | j | j | j ffS )N) __class__r r r )r s r
__reduce__zJSONDecodeError.__reduce__* s$ ~~$((DHH===r N)__name__
__module____qualname____doc__r r r r r r s >r )z -InfinityInfinityNaNz(.*?)(["\\\x00-\x1f])"\/r
)r$ r% r&