Top "Xstream" questions

XStream is a simple Java library to serialize objects to XML and back again.

XStream Implicit Collection Configuration Issue

I'm working with a system that generates this type of XML: <address> <addressLine>123 Main Street</…

java xml xstream
XStream and underscores

It looks like XStream (com.thoughtworks.xstream -> xstream 1.4.2) is handling underscores in element and attribute names in a …

java xml xstream
BeanUtils.copyProperties ignoring null values

I have the following class: import org.apache.commons.beanutils.BeanUtils; import com.thoughtworks.xstream.XStream; ... public class MyBean { protected …

java xstream apache-commons-beanutils
Format XML generated by Xstream

I want to format the output XML generated by Xstream, to make it more readable. Currently, a newline is added …

java xml xstream
Java XStream - Ignore tag that doesn't exist in XML

I currently use a piece of XML like the following <Person> <Name>Frank Smith</Name&…

java xstream
Why doesn't this simple example of JSON marshalling in Apache Camel work?

I've spent quite a while trying to figure this out. I am working on writing a service which receives a …

java apache-camel xstream unmarshalling
How to serialize POJO to xml with namespace prefix

Spring offers several ways to convert POJO to XML through HttpMessageConverter. However, I am having quite a bit of difficulty …

spring spring-mvc jackson xstream jaxb2
XStream or Simple

I need to decide on which one to use. My case is pretty simple. I need to convert a simple …

java xml jaxb xstream pojo