+
    i5                         ^RI Ht  ! R R]P                  4      t ! R R4      t ! R R]]P                  P
                  4      t ! R R	]]P                  P                  4      tR
# )   )typesc                       ] tR t^tRtRtR# )JSONa  SQLite JSON type.

SQLite supports JSON as of version 3.9 through its JSON1_ extension. Note
that JSON1_ is a
`loadable extension <https://www.sqlite.org/loadext.html>`_ and as such
may not be available, or may require run-time loading.

:class:`_sqlite.JSON` is used automatically whenever the base
:class:`_types.JSON` datatype is used against a SQLite backend.

.. seealso::

    :class:`_types.JSON` - main documentation for the generic
    cross-platform JSON datatype.

The :class:`_sqlite.JSON` type supports persistence of JSON values
as well as the core index operations provided by :class:`_types.JSON`
datatype, by adapting the operations to render the ``JSON_EXTRACT``
function wrapped in the ``JSON_QUOTE`` function at the database level.
Extracted values are quoted in order to ensure that the results are
always JSON string values.


.. versionadded:: 1.3


.. _JSON1: https://www.sqlite.org/json1.html

 N)__name__
__module____qualname____firstlineno____doc____static_attributes__r       ڈC:\Users\petid\OneDrive\Desktop\Maestro\MAESTRO CLAUDE\MAESTRO\maestro-backend\venv\Lib\site-packages\sqlalchemy\dialects\sqlite\json.pyr   r      s    r   r   c                   2   a  ] tR t^/t o R tR tR tRtV tR# )_FormatTypeMixinc                    \        4       hN)NotImplementedErrorselfvalues   &&r   _format_value_FormatTypeMixin._format_value0   s    !##r   c                :   a a S P                  V4      oV V3R  lpV# )c                 J   < SP                  V 4      p S'       d	   S! V 4      p V # r   r   r   r   
super_procs   &r   process0_FormatTypeMixin.bind_processor.<locals>.process6   %    &&u-E"5)Lr   )string_bind_processorr   dialectr   r   s   f& @r   bind_processor_FormatTypeMixin.bind_processor3   s    //8
	 r   c                :   a a S P                  V4      oV V3R  lpV# )c                 J   < SP                  V 4      p S'       d	   S! V 4      p V # r   r   r   s   &r   r   3_FormatTypeMixin.literal_processor.<locals>.processA   r    r   )string_literal_processorr"   s   f& @r   literal_processor"_FormatTypeMixin.literal_processor>   s    227;
	 r   r   N)	r   r   r	   r
   r   r$   r*   r   __classdictcell____classdict__s   @r   r   r   /   s     $		 	r   r   c                   &   a  ] tR t^Jt o R tRtV tR# )JSONIndexTypec                Z    \        V\        4      '       d   R V,          pV# RV,          pV# )z$[%s]z$."%s")
isinstanceintr   s   &&r   r   JSONIndexType._format_valueK   s0    eS!!eOE  u$Er   r   Nr   r   r	   r
   r   r   r,   r-   s   @r   r0   r0   J   s      r   r0   c                   &   a  ] tR t^St o R tRtV tR# )JSONPathTypec           
         R RP                  V Uu. uF+  p\        V\        4      '       d
   RV,          MRV,          NK-  	  up4      ,          # u upi )z$%s z[%s]z."%s")joinr2   r3   )r   r   elems   && r   r   JSONPathType._format_valueT   sV    GG !& % &0c%:%:FTM$N %
 	
s   1A
r   Nr5   r-   s   @r   r7   r7   S   s     
 
r   r7   N)r9   r   sqltypesr   r   r0   r7   r   r   r   <module>r>      sW    "8== F 6$hmm&A&A 	
#X]]%?%? 	
r   