Files
django-stubs/django-stubs/core/serializers/json.pyi
2019-12-12 06:42:29 +03:00

18 lines
422 B
Python

import json
from typing import Any, Dict
from django.core.serializers.python import Serializer as PythonSerializer
class Serializer(PythonSerializer):
json_kwargs: Dict[str, Any]
def Deserializer(stream_or_string: Any, **options: Any) -> None: ...
class DjangoJSONEncoder(json.JSONEncoder):
allow_nan: bool
check_circular: bool
ensure_ascii: bool
indent: int
skipkeys: bool
sort_keys: bool