I have a JSONField
in my model and I wasn't able to clean the initial import on my resource so the data imported were treated as strings instead of lists. When I export the data it looks like this:
The ones below are the previous data from the initial import-export
without a custom JSONWidget
. The ones above are the data that was cleaned.
How can I then fix the current JSONField
with the string
and convert it to a list
?