djblets.db.validators¶
- validate_json(value)¶
Validates content going into a JSONField.
This will raise a ValidationError if the value is a string (representing a serialized JSON payload, possibly from the admin UI) and cannot be loaded properly.
This documentation covers Djblets 3.x. You can select a version above or view the latest documentation.