Read unordered contents from a flatfile and order it in a well formed JSON
Flatfile project is maven based springboot project. To import to any IDE please import as existing maven project.
How to run this program:
- Execute following maven command "mvn clean install". You should have maven, java 8 installed. After compiling target/flatfile-service-0.0.1-SNAPSHOT.jar file will be generated.
- Execute following java command "java -jar target/flatfile-service-0.0.1-SNAPSHOT.jar input.txt output.txt". input.txt should be there in the path where java program is being executed.