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] [Commented] (CXF-7355) Null primitive is deserialized as zero
Date Tue, 02 May 2017 11:58:04 GMT

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

Sergey Beryozkin commented on CXF-7355:
---------------------------------------

In this case please look at JacksonJsonProvider documentation and check how it can be controlled
(null vs zero)

> Null primitive is deserialized as zero
> --------------------------------------
>
>                 Key: CXF-7355
>                 URL: https://issues.apache.org/jira/browse/CXF-7355
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.9
>            Reporter: Dmitry Murashenkov
>
> I have JAX RS method with DTO argument that has Long field. If argument has null field
value then deserialized value is set to 0 by NullProvider.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message