int someValue;
}
@Test
public void testPojoConf() throws Exception {
Kson kk = new Kson()
.map("test", SomePojoConfig.class)
.map("pojo", PojoConfigItem.class)
.map("other", OtherPojoConfigItem.class);
SomePojoConfig result = (SomePojoConfig) kk.readObject( new File("./src/test/kson/test.kson"));
Assert.assertTrue(result.aList.get(1).nameList[0].equals("Short"));
Assert.assertTrue(result.untypedList.size() == 2);
String res = kk.writeObject(result);
System.out.println(res);
Object reRead = kk.readObject(res);
Assert.assertTrue(DeepEquals.deepEquals(result, reRead));
res = kk.writeJSonObject(result, true);
System.out.println(res);
}