Hi,
I'm looking for some easy convinient way using annotations for flat object serialization to neseted JSON, see example below:
class Abcde {
String a;
String b;
String c;
String d;
String e;
}
to
{
a:"a",
b:"b",
cde: {
c:"c",
de: {
d:"d",
e:"e"
}
}
}
I know that I can do it by implementing custom serializer, but somehow I hope that there is quick annotation for that, like: @JsonProperty("nested1/nested2/name")
Thanks