@Test public void testWriteComplexObjectRooted() throws Exception { writeComplexTestData("/order", ""); final String instance = new String( Files.readAllBytes(Paths.get("src/test/resources/complex-rooted-result.json"))); Assert.assertNotNull(instance); Assert.assertThat(prettyPrintJson(writer.getRootNode().toString()), Is.is(prettyPrintJson(instance))); }
public ContainerNode<?> getRootNode() { return rootNode; }
JsonFieldWriter implements AtlasFieldWriter { public ContainerNode<?> getRootNode() { return rootNode; } }
JsonFieldWriter implements AtlasFieldWriter { public ContainerNode<?> getRootNode() { return rootNode; } JsonFieldWriter();  JsonFieldWriter(ObjectMapper objectMapper); }
JsonFieldWriter implements AtlasFieldWriter { public ContainerNode<?> getRootNode() { return rootNode; } JsonFieldWriter();  JsonFieldWriter(ObjectMapper objectMapper); ContainerNode<?> getRootNode(); ObjectMapper getObjectMapper(); @Override void write(AtlasInternalSession session); }
JsonFieldWriter implements AtlasFieldWriter { public ContainerNode<?> getRootNode() { return rootNode; } JsonFieldWriter();  JsonFieldWriter(ObjectMapper objectMapper); ContainerNode<?> getRootNode(); ObjectMapper getObjectMapper(); @Override void write(AtlasInternalSession session);  }