Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3483

JSONProvider: Don't force attributes to have @ if users doesn't want them too

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.4
    • 2.4.1, 2.3.5
    • JAX-RS
    • None
    • Unknown

    Description

      Jettison provides a configuration option to omit the '@' from attributes:
      org.codehaus.jettison.mapped.Configuration.setSupressAtAttributes(boolean)
      see Jettison Jira:
      http://jira.codehaus.org/browse/JETTISON-2

      org.apache.cxf.jaxrs.provider.JSONProvider should also expose this property.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sergey_beryozkin Sergey Beryozkin
            itchyknee Pat Turner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment