Skip to content

This is an api useful to convert the different version of files. Currently supported version are json to dsv (delimiter separated values) and vice-versa.

Notifications You must be signed in to change notification settings

amitnema/file-format-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

File Format Factory

Converts different file formats

This is an api useful to convert the different version of files. Currently supported version are json to dsv (delimiter separated values) and vice-versa.

Build the Source

Run the following command in the workspace

mvn clean package

Convert to the file formats

java -jar path\to\jar\file-format-factory-{version}-jar-with-dependencies.jar <input_filepath> <input_file_type> <output_filepath> <output_file_type> <delimiter> 

e.g.

java -jar file-format-factory-1.0.0-jar-with-dependencies.jar /tmp/data/data.json json /tmp/data/data.csv dsv ,

Above command will convert the json file into the CSV format.

File Types

  • dsv
  • json

Note: delimiter argument is required, if one of the file type is dsv (delimited separated values).

About

This is an api useful to convert the different version of files. Currently supported version are json to dsv (delimiter separated values) and vice-versa.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages