Details
-
Type: Improvement
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1
-
Component/s: None
-
Labels:None
Description
I think this would be useful
public Object fromXML(String xml, Object obj) {
return unmarshal(hierarchicalStreamDriver.createReader(
new StringReader(xml)), obj);
}
Currently, I'm using:
xstream.unmarshal(new XppDriver().createReader(new StringReader(xml)), obj);