mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-27 03:54:01 +03:00
d489c5c881
json.JSONEncoder cannot serialize Numpy data types. Numpy arrays and array scalars have a tolist() method which casts the object to a standard python data type. |
||
---|---|---|
.. | ||
__init__.py | ||
breadcrumbs.py | ||
encoders.py | ||
formatting.py | ||
mediatypes.py |