You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/25 07:53:04 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14641405#comment-14641405 ] 

ASF subversion and git services commented on ISIS-1177:
-------------------------------------------------------

Commit 95d5a4e50d3bce0e2eba80456d3f76f3653dcbe2 in isis's branch refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=95d5a4e ]

ISIS-1177: fix for deserializing into RO applib using jackson.


> 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)