Checklist
Steps to reproduce
- Create a JSONField on a serializer
- Submit
{"a": "test"} to the field through docs
- Breakpoint at the return of
JSONField.to_internal_value()
Expected behavior
The returned data is a dictionary with a single key a that has a value which is string test.
Actual behavior
The returned data is the string {"a": "test"}
Checklist
masterbranch of Django REST framework.Steps to reproduce
{"a": "test"}to the field through docsJSONField.to_internal_value()Expected behavior
The returned data is a dictionary with a single key
athat has a value which is stringtest.Actual behavior
The returned data is the string
{"a": "test"}