JSON field saves as longtext datatype
MariaDB does not have a datatype of JSON.  Instead it gives you LONGTEXT.

Be aware that there are a lot of differences between MySQL and MariaDB in the area of JSON.  Furthermore, different versions of each have different levels of functions, etc.