Uploaded image for project: 'Johnzon'
  1. Johnzon
  2. JOHNZON-228

Deserialization error when attempting to read to a number of primitive types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.13
    • 1.2.0
    • Mapper
    • None

    Description

      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.

      Attachments

        1. johnzon-mapper-primitive-read.zip
          3 kB
          Steven Walters

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            steven.walters Steven Walters
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: