Database dumps use standard SQL
INSERT INTO scripts to seed tables. When migrating records to frontend apps or document stores (like MongoDB or Firebase), you need standard JSON arrays. Our parser reads SQL tables, matches parenthesized lists of columns to rows of values, and formats them into key-value JSON objects. If you need to generate SQL queries from raw datasets, try our
JSON to SQL Converter. Here is a query-to-object mapping:
-- SQL INSERT Dump Script
INSERT INTO users (id, name, active) VALUES
(1, 'Alex', true),
(2, 'Jordan', false);
// Converted JSON Array Output
[
{
"id": 1,
"name": "Alex",
"active": true
},
{
"id": 2,
"name": "Jordan",
"active": false
}
]