Skip to content

feat: add JSON to SQL INSERT converter - #459

Merged
shamilahmdt merged 1 commit into
shamilahmdt:mainfrom
Ayesha-shafi12:feature/add-json-sql-converter
Aug 21, 2026
Merged

feat: add JSON to SQL INSERT converter#459
shamilahmdt merged 1 commit into
shamilahmdt:mainfrom
Ayesha-shafi12:feature/add-json-sql-converter

Conversation

@Ayesha-shafi12

Copy link
Copy Markdown
Contributor

📝 Description

Adds a new "JSON ⇄ SQL INSERT Converter" tool to the Dev Utilities Sandbox. It converts a JSON array of objects into a SQL INSERT INTO ... VALUES statement, and can also parse a supported INSERT INTO ... VALUES statement back into a JSON array. Runs entirely client-side — no external APIs or database connections.

Handles:

  • Strings (with SQL quote escaping)
  • Numbers and decimals
  • Booleans (TRUE/FALSE)
  • NULL values
  • Multiple JSON rows / multiple SQL VALUES rows

Includes validation and clear error messages for invalid JSON, empty arrays, mismatched column/value counts, unclosed string literals, and invalid table/column names.

🔗 Related Issue

Closes #193

🎯 Type of Change

  • feat: New feature

✅ Checklist

  • Follows project's Monochrome design (Black/Grey/White) 🎨
  • Follows Conventional Commits 📜
  • Added screenshots (if UI was changed) 📸
  • Tested locally on the latest version 🧪

@vercel

vercel Bot commented Aug 15, 2026

Copy link
Copy Markdown

@Ayesha-shafi12 is attempting to deploy a commit to the shamilahmdt's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

👋 Hello, @Ayesha-shafi12!

Thank you for your contribution to DevTasks.

The maintainer has been notified and will review your pull request shortly. If any changes are needed, we will let you know in the comments below.

@shamilahmdt
shamilahmdt merged commit fca93f5 into shamilahmdt:main Aug 21, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🟢 Good First Issue: Add a New Tool to Dev Utilities Sandbox

2 participants