This little tool converts a CSV file with 2 lines into a JSON string. My use Case: publishing PHPLoc results to Fluentd.
Use make to create the pseiffert/csv2json container.
make
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
Content type
Image
Digest
sha256:18652dc80…
Size
1.8 MB
Last updated
almost 11 years ago
docker pull pseiffert/csv2json