D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
python3
/
dist-packages
/
josepy
/
__pycache__
/
Filename :
json_util.cpython-314.pyc
back
Copy
+ fH\iM � �" � R t ^ RIt^ RIt^ RIt^ RIt^ RIHtHtHtH t H t HtHtH t Ht ^ RIHt ^ RIHt ^ RIHtHtHtHt ]P0 R&8� d ^ RIt]P4 ! ]4 tR'R R llt ! R R 4 t ! R R]4 t ! R R ]P@ 4 t!]! RRR7 t" ! R R]PF ]PH ]!R7 t%R R lt&R(R R llt'R R lt(R(R R llt)R R lt*R R lt+R R lt,R! R" lt-]! R#R$R7 t. ! R% R$]%4 t/R# ))z�JSON (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) �Any�Callable�Dict�Iterable�List�Mapping�Optional�Type�TypeVar)�x509)�Encoding)�b64�errors� interfaces�utilc �� � V ^8� d QhR\ R\ R\ R\ \ \ .\ 3, , R\ \ \ .\ 3, , R\ /# )� � json_name�default� omitempty�decoder�encoder�return��strr �boolr r )�formats "�2/usr/lib/python3/dist-packages/josepy/json_util.py�__annotate__r % sd � � � ��� �� �� �h��u�c�z�*� +� � �h��u�c�z�*� +�� � � c � � \ WW#VR7 # )a 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 &&&&&r �fieldr# % s � �&