Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

hay/csv2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

CSV2JSON

This PHP script converts a CSV file to a JSON object. It expects all values to be enclosed in double quotes (") and to be seperated by commas (,)

Usage

Make this executable

$ chmod u+x csv2json

Then invoke it from the command line like this

$ csv2json myfile.csv

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

More info

About

PHP script that converts a CSV file to a JSON object. It expects all values to * be enclosed in double quotes (") and to be seperated by commas (,).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published