@Test
public void testDeserializationIntoPublicFields() {
JoddJson.classMetadataName = "class";
Spiderman spiderman = new Spiderman();
spiderman.spideySense = false;
spiderman.superpower = "Creates Many Webs and Super Tough";
String json = new JsonSerializer().serialize(spiderman);
Spiderman jsonSpiderman = new JsonParser().parse(json);
assertEquals(spiderman.spideySense, jsonSpiderman.spideySense);
assertEquals(spiderman.superpower, jsonSpiderman.superpower);
}