@Test(expected = IOException.class) public void jsonToTinkerpopThrowsAnIoExceptionIfTheValueCannotBeConvertedToAltNames() throws Exception { JsonNode bogusInput = new ObjectMapper().createObjectNode(); instance.jsonToTinkerpop(bogusInput); }
@Override public String jsonToTinkerpop(JsonNode json) throws IOException { ObjectNode dbJson = jsnO("list", json); objectMapper.treeToValue(dbJson, AltNames.class); return dbJson.toString(); }
AltNamesConverter implements Converter { @Override public String jsonToTinkerpop(JsonNode json) throws IOException { ObjectNode dbJson = jsnO("list", json); objectMapper.treeToValue(dbJson, AltNames.class); return dbJson.toString(); } }
AltNamesConverter implements Converter { @Override public String jsonToTinkerpop(JsonNode json) throws IOException { ObjectNode dbJson = jsnO("list", json); objectMapper.treeToValue(dbJson, AltNames.class); return dbJson.toString(); }  }
AltNamesConverter implements Converter { @Override public String jsonToTinkerpop(JsonNode json) throws IOException { ObjectNode dbJson = jsnO("list", json); objectMapper.treeToValue(dbJson, AltNames.class); return dbJson.toString(); }  @Override String jsonToTinkerpop(JsonNode json); @Override JsonNode tinkerpopToJson(Object value); @Override String getGuiTypeId(); @Override String getUniqueTypeIdentifier(); }
AltNamesConverter implements Converter { @Override public String jsonToTinkerpop(JsonNode json) throws IOException { ObjectNode dbJson = jsnO("list", json); objectMapper.treeToValue(dbJson, AltNames.class); return dbJson.toString(); }  @Override String jsonToTinkerpop(JsonNode json); @Override JsonNode tinkerpopToJson(Object value); @Override String getGuiTypeId(); @Override String getUniqueTypeIdentifier();  }