Skip to content

seiffert/csv2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV2JSON

This little tool converts a CSV file with 2 lines into a JSON string. My use Case: publishing PHPLoc results to Fluentd.

Development:

Use make to create the pseiffert/csv2json container.

make

Run it:

docker run -it --rm -v $(pwd):/opt/workspace pseiffert/phploc --log-csv=phploc.csv $PHP_PROJECT_DIRECTORY 1>/dev/null && \
    cat phploc.csv | \
    docker run -i --rm pseiffert/csv2json

About

This tool translates a CSV file like the result file of PHPLoc to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published