SkillAgentSearch skills...

Json2sql

PHP script that converts a JSON file to a series of SQL INSERT staments

Install / Use

/learn @hay/Json2sql
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

JSON2SQL

This PHP script converts a JSON file to a series of SQL INSERT staments

Usage

Make this executable

$ chmod u+x json2sql

Then invoke it from the command line like this

$ json2sql tablename myfile.json

The script will automatically write the resulting file as myfile.sql

More info

  • By Hay Kranen: http://www.haykranen.nl
  • Fork it on Github: http://github.com/hay/json2sql

Related Skills

View on GitHub
GitHub Stars11
CategoryData
Updated2y ago
Forks5

Languages

PHP

Security Score

60/100

Audited on Dec 28, 2023

No findings