cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-2916) unmarshalling the JSON of a subclass fails when a field value is null
Date Fri, 08 Apr 2011 12:58:05 GMT

     [ https://issues.apache.org/jira/browse/CXF-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-2916.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.4
                   2.4
         Assignee: Sergey Beryozkin

> unmarshalling the JSON of a subclass fails when a field value is null
> ---------------------------------------------------------------------
>
>                 Key: CXF-2916
>                 URL: https://issues.apache.org/jira/browse/CXF-2916
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.9
>         Environment: Windows XP,  JDK 1.6.0_14
>            Reporter: Chaitanya Choleti
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4, 2.3.4
>
>         Attachments: CXF-2916-jettison.patch, CXF-2916.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Unmarshalling the JSON :
> {"@xsi.type" : "subClassTest", "id" : "10000000", "name" : null }
> should give an instance of SubClassTest.class and the value of the field name(which is
a String) should be null, but with the current implementation the value of the field name
is String "null" .
> This happens only in the case of unmarshalling JSON to a subclass.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message