use of com.tvd12.ezyfox.json.EzySimpleJsonWriter in project ezyfox-server by youngmonkeys.
the class EzySimpleXmlReaderTest method test3.
@Test
public void test3() {
EzyXmlReader reader = EzySimpleXmlMapper.builder().contextPath("com.tvd12.ezyfoxserver").classLoader(getClass().getClassLoader()).build();
EzySimpleSettings settings = reader.read(new File("src/main/resources/ezy-settings.xml"), EzySimpleSettings.class);
System.out.println(new EzySimpleJsonWriter().writeAsString(settings));
}
Aggregations