def METHOD_NAME(self):
    j_field = JSONField()
    self.assertEqual(
        str(dumps([{'a': 'a'}])),
        j_field.get_db_prep_save(value=[{'a': 'a'}], connection=None),
    )
    self.assertEqual(
        str('[{"a": "a"}]'),
        j_field.get_db_prep_save(value='[{"a": "a"}]', connection=None),
    )