Dan Haywood created ISIS-1177:
---------------------------------
Summary: Deserialization using RO applib fails in Jackson library
Key: ISIS-1177
URL: https://issues.apache.org/jira/browse/ISIS-1177
Project: Isis
Issue Type: Bug
Components: Core
Affects Versions: core-1.8.0
Reporter: Dan Haywood
Assignee: Dan Haywood
Priority: Minor
Fix For: 1.9.0
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)