jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Jackson JSON Processor
  • JACKSON-781

Add @JsonWrapped (to complement @JsonUnwrapped)

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: In Progress In Progress
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: JAXB annotation handler
  • Labels:
    None

Description

@JsonUnwrapped allows people who want a more compressed JSON hierarchy than their POJO to affect the process, but there is no option for the reverse. I have a REST service producing unnecessary additional layers of abstraction that i would like to exclude from my Java POJOs rather than writing all sorts of unseemly wrapper classes.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Tatu Saloranta added a comment - 09/Feb/12 12:05 PM

fixed name of annotations

Show
Tatu Saloranta added a comment - 09/Feb/12 12:05 PM fixed name of annotations
Hide
Permalink
Tatu Saloranta added a comment - 09/Feb/12 12:05 PM

Sounds reasonable. Will be considered for 2.1, as 2.0 feature set is closed.

Show
Tatu Saloranta added a comment - 09/Feb/12 12:05 PM Sounds reasonable. Will be considered for 2.1, as 2.0 feature set is closed.
Hide
Permalink
Tatu Saloranta added a comment - 21/Feb/12 12:46 AM

Ah. Forgot to verify this had not been reported – there was already JACKSON-482, with some more notes. Closed it to keep just one entry, but might make sense to copy additional suggestions from there, regarding possible ways to denote expected wrapping to use for JSON representation.

Show
Tatu Saloranta added a comment - 21/Feb/12 12:46 AM Ah. Forgot to verify this had not been reported – there was already JACKSON-482, with some more notes. Closed it to keep just one entry, but might make sense to copy additional suggestions from there, regarding possible ways to denote expected wrapping to use for JSON representation.

People

  • Assignee:
    Tatu Saloranta
    Reporter:
    Brian Mulholland
Vote (1)
Watch (1)

Dates

  • Created:
    09/Feb/12 6:19 AM
    Updated:
    21/Feb/12 12:46 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.