PK
œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in /home/telusvwg/public_html/da754d/index.php on line 8
| Dir : /opt/cloudlinux/venv/lib/python3.11/site-packages/psycopg2/__pycache__/ |
| Server: Linux premium279.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64 IP: 66.29.132.192 |
| Dir : //opt/cloudlinux/venv/lib/python3.11/site-packages/psycopg2/__pycache__/_json.cpython-311.pyc |
�
�|oi� � � � d Z ddlZddlmZmZ ddlmZmZmZ dZdZ dZ
dZ G d � d
� � Z dd
�Z
dd�Zdd�Zdd�Zdd�ZdS )z�Implementation of the JSON adaptation objects
This module exists to avoid a circular import problem: pyscopg2.extras depends
on psycopg2.extension, so I can't create the default JSON typecasters in
extensions importing register_json from extras.
� N)� ISQLQuote�QuotedString)�new_type�new_array_type�
register_type�r �� i� i� c �8 � e Zd ZdZd d�Zd� Zd� Zd� Zd� Zd� Z dS )
�Jsona
An `~psycopg2.extensions.ISQLQuote` wrapper to adapt a Python object to
:sql:`json` data type.
`!Json` can be used to wrap any object supported by the provided *dumps*
function. If none is provided, the standard :py:func:`json.dumps()` is
used.
Nc �H � || _ d | _ |pt j | _ d S �N)�adapted�_conn�json�dumps�_dumps)�selfr r s �b/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/psycopg2/_json.py�__init__z
Json.__init__8 s"