@Test
public void testPersonObject() throws Exception {
Person p = Json.fromJson( Person.class,
getFileAsInputStreamReader("org/nutz/json/person.txt"));
StringBuilder sb = new StringBuilder();
Writer w = new OutputStreamWriter(new StringOutputStream(sb));
w.write(p.dump());
w.write("\n");
w.write(p.getFather().dump());
w.write("\n");
w.write(p.getCompany().getName());