  class InvalidJSONInput(six.text_type):
      pass
  
  
  class JSONField(forms.CharField):
      default_error_messages = {
          'invalid': _("'%(value)s' value must be valid JSON."),
      }
      widget = forms.Textarea
 
</s> remove             return json.loads(value)
 </s> add             converted = json.loads(value)
class JSONString(six.text_type):
    pass


  class InvalidJSONInput(six.text_type):
      pass
  
  
class JSONString(six.text_type):
    pass


  class JSONField(forms.CharField):
      default_error_messages = {
          'invalid': _("'%(value)s' value must be valid JSON."),
      }
      widget = forms.Textarea
keep keep keep add keep keep keep keep keep
 Refs #27003 -- Fixed JSONField crash on converted values. 
django/contrib/postgres/forms/jsonb.py