[Simple-support] Serializing java.util.Set<Enum>
Brought to you by:
niallg
|
From: Maxim S. <sol...@gm...> - 2014-06-10 03:36:26
|
Hello,
I currently have the following class
@Root(name = "A")
public class A implements Serializable {
public enum B {
b1, b2, b3, b4
}
@ElementList(data = true, required = false)
private Set<B> bs = new HashSet<A.B>();
}
And it seems like Set<B> is not serialized :(
Also tried with
@ElementMap
Is there any way to fix/debug this?
I'm using latest simple-xml
Thanks in advance
--
WBR
Maxim aka solomax
|