Hero hero = new JSONDeserializer
().use( null, Hero.class ).deserialize( jsonHarvey );
doesn't appear to work with a POJO (might work with a bean, not interested in that). serialization works with POJOs, and the deserialization docs don't mention that it doesn't ... the code runs, but the fields aren't set correctly, ie they're left with the values set by the no-arg constructor
anyone have any luck deserializing a POJO ?
here's a guy using deserialization, but he doesn't say whether he's got a POJO or a Bean ...
[SOLVED] ok - just tried google-gson, and it deserializes POJOs ... only a very simple example so far, but it works. guess i'll switch to gson