You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2019/08/07 16:16:00 UTC

[jira] [Assigned] (JOHNZON-228) Deserialization error when attempting to read to a number of primitive types

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

Romain Manni-Bucau reassigned JOHNZON-228:
------------------------------------------

    Assignee: Romain Manni-Bucau

> Deserialization error when attempting to read to a number of primitive types
> ----------------------------------------------------------------------------
>
>                 Key: JOHNZON-228
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-228
>             Project: Johnzon
>          Issue Type: Bug
>          Components: Mapper
>    Affects Versions: 1.1.13
>            Reporter: Steven Walters
>            Assignee: Romain Manni-Bucau
>            Priority: Minor
>         Attachments: johnzon-mapper-primitive-read.zip
>
>
> Only certain primitive types (and their associated wrappers) are supported when reading via a Mapper with readObject
> The supported types are
> * bool/Boolean
> * double/Double
> * int/Integer
> * long/Long
> This leaves
> * byte/Byte
> * char/Character
> * float/Float
> * short/Short
> as not being supported.
> Small junit suite attached to show working and failing behavior of current primitives.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)