Skip to content

Add @JsonWrapped #512

@markwoon

Description

@markwoon

It would be nice to have the inverse of @JsonUnwrapped.

This would enable serializing this class:

class Gene {
  String symbol;
  String chrId;
  String chrName;
}

To this:

{
  "symbol" : "X",
  "chr" : { 
    "id" : "Y",
    "name": "chr1"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    most-wantedTag to indicate that there is heavy user +1'ing action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions