[json-lib-user] JSON -> JAVA; Drop XmlRootElement
Brought to you by:
aalmiray
|
From: Christoph S. <sun...@ho...> - 2009-09-21 15:33:49
|
Hi!
Is there an option to drop the JSON root-element when unmarshalling JSON to a Java bean?
Incomming JSON:
{ "simplebean": {
"key":"value",
"key2":"value"
}
}
Target class:
public class DifferentNameBean {
String key;
String key2;
...
}
_________________________________________________________________
http://redirect.gimas.net/?n=M0909xWindows7_2
Schnell, zuverlässig, einfach: jetzt Windows 7 kennenlernen! |