test.JSheet.TestSheet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json2flat Show documentation
Show all versions of json2flat Show documentation
Converting JSON documents to flat CSV
package test.JSheet;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;
import com.github.opendevl.JFlat;
/**
* @author aptus
* Yahoo
*/
public class TestSheet {
/**
* Just for testing
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException{
String str = new String(Files.readAllBytes(Paths.get("/home/workspace/mvgitproj/Json2Flat/json2flat/src/main/resources/test.json")));
JFlat flatMe = new JFlat(str);
List