[
https://issues.apache.org/jira/browse/JOHNZON-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16435408#comment-16435408
]
Mark Struberg commented on JOHNZON-167:
---------------------------------------
Hi Soudeh!
Imo this works fine right now. According to the spec, PropertyOrderStrategy
only defines the order for properties. Means fields of a Java class. It does
not apply to Map entries.
What about simply using a sorted variant of Map?
> 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)