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

Anthony Communier edited comment on JOHNZON-167 at 4/13/18 9:57 AM:
--------------------------------------------------------------------

It does not have sense to order all attributes from object except Map keys. 
There is no relevant use case  in user point of view. 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.

 


was (Author: anthonyc):
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)

Reply via email to