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)
Signup
Enunciate
  • Enunciate
  • ENUNCIATE-300

No JSON type hints

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.22
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

The lack of JSON type hinting prevents full support for @XmlElementRefs and @XmlElements annotations because the JSON deserializer can't determine at runtime the type of the JSON object.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ryan Heaton added a comment - 26/May/10 11:58 AM

Jackson 1.5 has initial support for polymorphic type handling, as of 1.5.2, only @XmlElements is supported and not @XmlElementRefs. This will be fixed with JACKSON-296. We'll attempt to fix this issue for 1.21.

Show
Ryan Heaton added a comment - 26/May/10 11:58 AM Jackson 1.5 has initial support for polymorphic type handling, as of 1.5.2, only @XmlElements is supported and not @XmlElementRefs. This will be fixed with JACKSON-296 . We'll attempt to fix this issue for 1.21.
Hide
Permalink
Ryan Heaton added a comment - 27/Oct/10 2:18 PM

Unfortunately, this feature is going to have to get bumped to 1.22.

Show
Ryan Heaton added a comment - 27/Oct/10 2:18 PM Unfortunately, this feature is going to have to get bumped to 1.22.
Hide
Permalink
Ryan Heaton added a comment - 28/Mar/11 3:58 PM

As of 1.22, we're leveraging Jacksons support for polymorphic types, but work still needs to be done to support certain client-side libraries that consume the JSON output.

Ruby: http://jira.codehaus.org/browse/ENUNCIATE-542
GWT: http://jira.codehaus.org/browse/ENUNCIATE-543

The GWT one is especially tricky. Any comments on how to resolve that issue would be appreciated.

Show
Ryan Heaton added a comment - 28/Mar/11 3:58 PM As of 1.22, we're leveraging Jacksons support for polymorphic types, but work still needs to be done to support certain client-side libraries that consume the JSON output. Ruby: http://jira.codehaus.org/browse/ENUNCIATE-542 GWT: http://jira.codehaus.org/browse/ENUNCIATE-543 The GWT one is especially tricky. Any comments on how to resolve that issue would be appreciated.
Hide
Permalink
Ryan Heaton added a comment - 18/Apr/11 5:06 PM

closed for 1.22.

Show
Ryan Heaton added a comment - 18/Apr/11 5:06 PM closed for 1.22.

People

  • Assignee:
    Ryan Heaton
    Reporter:
    Ryan Heaton
Vote (0)
Watch (1)

Dates

  • Created:
    10/Jul/09 11:57 AM
    Updated:
    18/Apr/11 5:06 PM
    Resolved:
    28/Mar/11 3:58 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.