[Answered ]-Unable to save to model with JSONField

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}

Leave a comment