Free Online tool for converting SQL To JSON, Parser, Transformer, Beautifiers & Formatters Online Utility.
Load form SQL file, Download, Save and Share. Convert now!
Note : SQL To JSON Converter online working proper in Chrome, Firefox, Safari, Edge, Windows, Mac and Linux and it's Free.
Below is an example of the original SQL To JSON and the result.
Original SQL To JSON Example/** * Websites */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for `websites` -- ---------------------------- DROP TABLE IF EXISTS `websites`; CREATE TABLE `websites` ( `code` char(2) NOT NULL COMMENT 'Continent code', `name` varchar(255) DEFAULT NULL, PRIMARY KEY (`code`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; -- ---------------------------- -- Records of websites -- ---------------------------- INSERT INTO `websites` VALUES ('PK', 'Pakainfo'); INSERT INTO `websites` VALUES ('YT', 'Yttags'); INSERT INTO `websites` VALUES ('AS', 'Infinityknow'); INSERT INTO `websites` VALUES ('WX', 'Webix'); INSERT INTO `websites` VALUES ('GP', 'guestpostingsites'); INSERT INTO `websites` VALUES ('IP', 'thebestiptv'); INSERT INTO `websites` VALUES ('IS', 'itsolutionstuck'); INSERT INTO `websites` VALUES ('??', NULL);
And an example of how the online SQL To JSON works.
SQL To JSON Result{ "websites": [ { "code": "PK", "name": "Pakainfo" }, { "code": "YT", "name": "Yttags" }, { "code": "AS", "name": "Infinityknow" }, { "code": "WX", "name": "Webix" }, { "code": "GP", "name": "guestpostingsites" }, { "code": "IP", "name": "thebestiptv" }, { "code": "IS", "name": "itsolutionstuck" }, { "code": "??", "name": null } ] }