XStream serializable objects

Posted by Jeff Storey on Stack Overflow See other posts from Stack Overflow or by Jeff Storey
Published on 2010-05-11T14:20:21Z Indexed on 2010/05/11 14:24 UTC
Read the original article Hit count: 383

Filed under:
|
|

I am currently using XStream to serialize some of my objects that don't implement Serializable. Is there a way to tell XStream to use Java's default serialization if the object does implement Serializable and to fall back on XML serialization if it does not? Or would I need to implement a simple layer on top of it to check?

thanks, Jeff

© Stack Overflow or respective owner

Related posts about java

Related posts about xstream