1👍
✅
Don’t use json.dumps()
If you use it it will add /
and other stuff.
You can achieve using dictionary
JSONField will handle the serialization like this
payload = {'nodes': nodes, 'links': links}
Source:stackexchange.com