johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JOHNZON-167) Order strategy not applied on Map keys
Date Thu, 12 Apr 2018 15:19:00 GMT

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

Romain Manni-Bucau commented on JOHNZON-167:
--------------------------------------------

[~anthonyC] in the spec properties references pojo properties IIRC. Map are sorted if they
are SortedMap, we don't want to change that since it is a user choice already done. The strategy
is for the case where it is not selected by the user already and due to the reflection not
respecting anymore the definition order. We can support it for not sorted maps but the gain
is quite low from my point of view even if there is no blocker to do it.

> Order strategy not applied on Map keys
> --------------------------------------
>
>                 Key: JOHNZON-167
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-167
>             Project: Johnzon
>          Issue Type: Bug
>          Components: JSON-B
>    Affects Versions: 1.1.7
>            Reporter: Soudeh Raeisi
>            Priority: Major
>         Attachments: JohnzonLibPropertyOrderTest.java
>
>
> Order strategy is not applied globally using withPropertyOrderStrategy  method of JsonbConfig



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message