Supposing I have a field in my model that stores raw JSON (so containing double quotes, null
, false
etc.):
class Activity(models.Model):
textjson = models.TextField(default="Unassigned")
how do I serialize this model so that the API response will not contain backslashes, the sign of double serialization?