#817 Replace Jettison with Jackson for JSON marshalling
Closed: Fixed Opened by edewata.

Currently Dogtag uses Jettison which produces the following JSON output:

{
    "User": {
        "@id": "testuser",
        "fullName": "Test User",
        ...
    }
}

Jackson will produce a simpler JSON output:

{
    "id": "testuser",
    "fullName": "Test User",
    ...
}

This is easier to read and will work better with Backbone library.

See also:
http://stackoverflow.com/questions/8225928/resteasy-jettison-return-java-object-as-json-without-the-root-node


master:

  • 384766e25d952ba358d03ec22953a9481bb58d4b
  • 32d71bba0075a3bc12c36e5bb29701d0e96ea0ba

Metadata Update from @edewata:
- Issue set to the milestone: 10.2 - 03/14 (March)

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1384

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata