Closed sibwy closed 2 years ago
On reviewing this issue, it is found that MariaDB implements JSON as a LONGTEXT, as the JSON data type contradicts the SQL standard.
In SQLyog, the JSON editor formatter currently works only if the datatype returned by the server is JSON. Therefore, closing this issue since it is not an SQLyog issue, rather a limitation with MariaDB.
With the MariaDB servers, the JSON viewer editor does not format the JSON data, though the option "Format JSON data in JSON viewer" under "Tools -> Preferences -> General".
Reproduced with MariaDB v10.6.5, 10.3.22
The user report can be found in SF: 00951346