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

-- 
You received this message because you are subscribed to the Google Groups 
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jackson-user/1068b113-7e35-4b9f-879f-9fae22f41c99%40googlegroups.com.

Reply via email to