johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Communier (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JOHNZON-167) Order strategy not applied on Map keys
Date Fri, 13 Apr 2018 09:58:00 GMT

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

Anthony Communier commented on JOHNZON-167:
-------------------------------------------

It does not have sense to order all attributes from object except Map keys. There is no relevant
use case  in user point of vue. A Map is a Pojo, please refer to the definition of a Pojo
: [https://en.wikipedia.org/wiki/Plain_old_Java_object.] 

I have read the JsonB specification, there is nothing about Map that could be interpreted
as your proposal.

Moreover other framework are doing the job as expected. 

 

> 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