(self, value)
| 1385 | return InvalidJSONInput(data) |
| 1386 | |
| 1387 | def prepare_value(self, value): |
| 1388 | if isinstance(value, InvalidJSONInput): |
| 1389 | return value |
| 1390 | return json.dumps(value, ensure_ascii=False, cls=self.encoder) |
| 1391 | |
| 1392 | def has_changed(self, initial, data): |
| 1393 | if super().has_changed(initial, data): |