Current File : //usr/lib/python3/dist-packages/josepy/__pycache__/json_util.cpython-312.pyc |
�
���etH � � � d Z ddlZddlZddlZddlmZmZmZmZm Z m
Z
mZmZm
Z
ddlmZ ddlmZmZmZmZ ej* e� Z d*dededed eeegef d
eeegef defd�Z G d
� d� Z G d� de� Z G d� dej: � Z e
dd�� Z G d� dej@ ejB e�� Z"de#defd�Z$d+dedee% dede#fd�Z&de#defd�Z'd+dedee% dede#fd�Z(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),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)�crypto)�b64�errors�
interfaces�util� json_name�default� omitempty�decoder�encoder�returnc �"