Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24093

Replace use of json-lib with jackson

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.1
    • Tags:
    • Upgrade notes:
      Hide

      Use com.fasterxml.jackson.core:jackson-* instead of net.sf.json-lib:json-lib.
      There's several way to benefit jackson from Nuxeo.

      • create a pojo and serialize it with ObjectMapper from Jackson
      • create Nuxeo marshallers to be able to use it on REST API (every contributed marshallers are automatically bound) or in a plain code with MarshallerHelper
      Show
      Use com.fasterxml.jackson.core:jackson-* instead of net.sf.json-lib:json-lib. There's several way to benefit jackson from Nuxeo. create a pojo and serialize it with ObjectMapper from Jackson create Nuxeo marshallers to be able to use it on REST API (every contributed marshallers are automatically bound) or in a plain code with MarshallerHelper
    • Sprint:
      nxcore 10.1.1, nxcore 10.1.2
    • Story Points:
      2

      Description

      net.sf.json-lib:json-lib is old, latest release was in 2010.
      We should use jackson instead.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours
                  1d 4h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.