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

JsonbTypeSerializer on field with type java.util.Map is not executed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.15
    • 1.2.16
    • JSON-B
    • None

    Description

      I added @JsonbTypeSerializer and @JsonbTypeDeserializer on a field with type java.util.Map

      The Deserializer was executed, but the Serializer was not executed.

      I wrote an unit test:
      https://github.com/stonewoodman/johnzon/blob/custom_map_serialization/johnzon-jsonb/src/test/java/org/apache/johnzon/jsonb/SerializersMapTest.java

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            stonewoodman Stonewoodman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: