json
Attributes:
-
DEFAULT_JSON_DECODER–The default JSON decoder used for deserialization.
-
DEFAULT_JSON_ENCODER–The default JSON encoder used for serialization.
-
JSON_TYPES–The types that can be serialized to JSON.
DEFAULT_JSON_DECODER
module-attribute
DEFAULT_JSON_DECODER = JSONDecoder()
The default JSON decoder used for deserialization.
DEFAULT_JSON_ENCODER
module-attribute
DEFAULT_JSON_ENCODER = JSONEncoder(
separators=(",", ":"), allow_nan=False
)
The default JSON encoder used for serialization.