[ 
https://issues.apache.org/jira/browse/CXF-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895320#action_12895320
 ] 

Andrew Nelson edited comment on CXF-2916 at 8/4/10 12:57 PM:
-------------------------------------------------------------

As requested the patch + test cases has been attached to 
http://jira.codehaus.org/browse/JETTISON-89 .

      was (Author: drewbob):
    As requested the patch + test cases have been attached to 
http://jira.codehaus.org/browse/JETTISON-89 .
  
> 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
>         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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to