public class ObjectWithDefaultStringImplConverter
A converter that delegates to ConverterLookup.lookupConverterForType(Class), where
possible. On unmarshalling, if there is no class attribute then it assumes that the
type must be a String.
This is useful if a class has its field changed from type String to Object.
The old persisted state will look like <mykey>myval</mykey>, rather than
Use this converter by annotation the field with
@XStreamConverter(ObjectWithDefaultStringImplConverter.class). One must also call
xstream.processAnnotations(MyClazz.class) to ensure the annotation is actually parsed.