This widget allows you to conveniently display, edit, validate json data on user form. It has multiple display options (tree, text, code).
If a field is read-only, the widget opens only for viewing.
The widget is based on JSONEditor by Jos de Jong.
Usage:
# model
class Model(models.Model):
json_field = fields.Json(string="Your JSON field")
# view
<form>;
....
<field name="json_field" widget="json_widget" />
....
</form>