Search code examples
javaxmlobjectxstream

XSteream Java Obj to XML Skipping some of the fields


How to skip certain fields of object in serialization of Obj to XML.

code is here


Solution

  • From Xtream

    How do I specify that a field should not be serialized?

    Make it transient, specify it with XStream.omitField() or annotate it with @XStreamOmitField

    Try www.google.com