Annotation Type JsonFlatten


@Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE,FIELD}) public @interface JsonFlatten
Annotation used for flattening properties separated by '.'. E.g. a property with JsonProperty value "properties.value" will have "value" property under the "properties" tree on the wire. This annotation when used on a class, all JSON fields will be checked for '.' and be flattened appropriately.