mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +08:00
18 lines
422 B
Python
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
|