struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Lipski (JIRA)" <>
Subject [jira] [Created] (WW-4937) Add SortedSet field support to JSON plugin
Date Thu, 10 May 2018 12:08:00 GMT
Jarek Lipski created WW-4937:

             Summary: Add SortedSet field support to JSON plugin
                 Key: WW-4937
             Project: Struts 2
          Issue Type: Improvement
    Affects Versions: 2.3.34
            Reporter: Jarek Lipski
             Fix For: 2.5.x

Currently when I try to deserialize a bean that contains fields of type SortedSet, I get the
following exception: {{}}
java.lang.IllegalArgumentException: argument type mismatch{code}
This is due to the fact that JSONPopulator does not distinguish between Set and SortedSet

This can be fixed by creating a TreeSet for SortedSet fields.

This message was sent by Atlassian JIRA

View raw message