Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1177

Deserialization using RO applib fails in Jackson library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • core-1.8.0
    • 1.9.0
    • Core
    • None

    Description

      It would appear that (as a result of an upgrade to Jackson, in 1.8.0 I think) that it is no longer possible to deserialize directly into our representation classes (eg HomeRepresentation, VersionRepresentation).

      Each of these expose a constructor accepting a single org.codehaus.jackson.JsonNode, and Jackson now says it's looking for a default constructor.

      See http://markmail.org/message/qi23ssz63m7rr57t.

      One possible fix is to deserialize into a JsonNode, and then manually instantiate the representation class manually.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: