import com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver;
import com.thoughtworks.xstream.mapper.Mapper;
public class XStreamJSon {
public static XStream newJSonMarshaller() {
JettisonMappedXmlDriver jet = new JettisonMappedXmlDriver();
XStream xstream = new XStream( jet );
XStreamHelper.setAliases( xstream );
xstream.alias( "commands",