
    F	h                        d Z ddlmZmZmZ ddlmZmZ ddlm	Z	 dZ
	 d Zd Z e       Z[ej                  Zej                  Zej                   Zej"                  Zej$                  Zej&                  Zej(                  Zej*                  Zej,                  Zej.                  Zej0                  Zej2                  Zej4                  Zej                  Zy	)
a  
Iterative JSON parser.

Main API:

- ``ijson.parse``: iterator returning parsing events with the object tree context,
  see ``ijson.common.parse`` for docs.

- ``ijson.items``: iterator returning Python objects found under a specified prefix,
  see ``ijson.common.items`` for docs.

Top-level ``ijson`` module exposes method from the pure Python backend. There's
also two other backends using the C library yajl in ``ijson.backends`` that have
the same API and are faster under CPython.
    )	JSONErrorIncompleteJSONErrorObjectBuilder)	coroutinesendable_list   )__version__)yajl2_c
yajl2_cffiyajl2yajlpythonc                 2    ddl }|j                  d| z         S )z$Import the backend named ``backend``r   Nzijson.backends.)	importlibimport_module)backendr   s     I/var/www/html/backend/venv/lib/python3.12/site-packages/ijson/__init__.pyget_backendr      s    ""#4w#>??    c                      dd l } d| j                  v rt        | j                  d         S t        D ]  }	 t        |      c S  t	        d      # t        $ r Y (w xY w)Nr   IJSON_BACKENDzno backends available)osenvironr   ALL_BACKENDSImportError)r   r   s     r   _default_backendr   !   sf    "**$2::o677 	w''
 -
..  		s   
A	AAN)__doc__ijson.commonr   r   r   ijson.utilsr   r   versionr	   r   r   r   r   basic_parsebasic_parse_coroparse
parse_coroitems
items_corokvitemskvitems_corobasic_parse_asyncparse_asyncitems_asynckvitems_asyncbackend_name r   r   <module>r/      s    G F 0   D
@
	/ 
!!++ 


//##-- !!!!%%##
//r   