Wolfgang Barth PRO said over 6 years ago on Virtual Columns with JSON Data Types :

Thank you for the link. Mysql and JSON seems to be a trap for me. Most linux distributions migrate mysql to mariadb these days. Migrate data to mariadb needs an explicit dump and restore of the related tables or you change the type back to t.text in mysql.

I will go back use t.text an serialize for now.