I have a JSONField column in a data model like this one:
class SomeModel(models.Model):
extra_data = JSONField(null=True, blank=True)
records in the database contain values of mixed types: actual objects and strings. Like this one:
id |
extra_data |
1 |
'{"a":1}' |
2 |
{"a": 1} |
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…