How to set the default of a JSONField to empty list in Django and django-jsonfield? : <h1>Question</h1>

<p>What is the best way to set a <a href="https://github.com/bradjasper/django-jsonfield" rel="noreferrer"><code>JSONField</code></a> to have the default value of a new list in <code>django</code>?</p>

<h2>Context</h2>

<p>There is a model where one of the fields is a list of items. In the case where there are no items set, the model should have an empty list.</p>

<h2>Current solution</h2>

<pre><code>from django.models import Model

class MyModel(Model):
    the_list_field = JSONField(default=[])
</code></pre>

<p>Is this the best way to do it? Should it be switched to use <code>list</code> instead?</p>

<p>Thanks!</p>
