Đầu vào: SQL
Đầu ra: JSON
Nhập dữ liệu SQL để chuyển đổi sang JSON
Dữ liệu đã chuyển đổi sẽ hiển thị ở đây
Chuyển câu lệnh INSERT SQL sang JSON
Nhập dữ liệu SQL để chuyển đổi sang JSON
Dữ liệu đã chuyển đổi sẽ hiển thị ở đây
Bước 1 – Dán INSERT SQL
Bước 2 – Kiểm tra chuyển đổi
Bước 3 – Xuất JSON
// Input SQL
INSERT INTO users (id, role) VALUES (1, 'admin');
// Output JSON
[
{
"id": 1,
"role": "admin",
"_table": "users"
}
]Currently supports INSERT INTO statements with a VALUES clause. Each INSERT statement becomes a JSON object with column names as keys and the table name stored in a _table field.
NULL → null, quoted strings → strings, numbers → numbers, TRUE/FALSE → booleans. Complex values are treated as strings and may need additional parsing.
Yes. The converter processes all INSERT statements in the input and creates an array of JSON objects, one for each INSERT statement.
Currently only INSERT statements are supported. CREATE TABLE, SELECT, UPDATE, and DELETE statements are not processed but won't cause errors.
Yes, all data processing happens entirely in your browser. Your data is never sent to any server, ensuring complete privacy and security.