com.lordofthejars.nosqlunit.neo4j.extension.springtemplate.DataParser Maven / Gradle / Ivy
package com.lordofthejars.nosqlunit.neo4j.extension.springtemplate;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.codehaus.jackson.JsonNode;
import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;
public class DataParser {
private static final String IMPLEMENTATION_TOKEN = "implementation";
private static final String DATA_TOKEN = "data";
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
public List