code: def validate(self, value, model_instance):
          
          if isinstance(value, six.string_types):
              super(JSONField, self).validate(value, model_instance)
              try:
                  json.loads(value)
              except Exception as err:
                  raise ValidationError(str(err))
docs: Check value is a valid JSON string, raise ValidationError on
          error.