You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2015/07/25 08:04:04 UTC
[jira] [Resolved] (ISIS-1177) Deserialization using RO applib fails
in Jackson library
[ https://issues.apache.org/jira/browse/ISIS-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Haywood resolved ISIS-1177.
-------------------------------
Resolution: Fixed
> 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)