              return value
          if value in self.empty_values:
              return None
          try:
              return json.loads(value)
          except ValueError:
              raise forms.ValidationError(
                  self.error_messages['invalid'],
                  code='invalid',
                  params={'value': value},
 
</s>
            converted = json.loads(value)
              return value
          if value in self.empty_values:
              return None
          try:
            converted = json.loads(value)
          except ValueError:
              raise forms.ValidationError(
                  self.error_messages['invalid'],
                  code='invalid',
                  params={'value': value},
keep keep keep keep replace keep keep keep keep keep
 Refs #27003 -- Fixed JSONField crash on converted values.
django/contrib/postgres/forms/jsonb.py