You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@johnzon.apache.org by "Matthias Hanisch (JIRA)" <ji...@apache.org> on 2018/02/21 09:24:00 UTC

[jira] [Updated] (JOHNZON-159) @JsonbPropertyOrder(PropertyOrderStrategy.REVERSE) has no effect

     [ https://issues.apache.org/jira/browse/JOHNZON-159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Hanisch updated JOHNZON-159:
-------------------------------------
    Attachment: JOHNZON159.java

> @JsonbPropertyOrder(PropertyOrderStrategy.REVERSE) has no effect
> ----------------------------------------------------------------
>
>                 Key: JOHNZON-159
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-159
>             Project: Johnzon
>          Issue Type: Bug
>          Components: JSON-B
>    Affects Versions: 1.1.6
>            Reporter: Matthias Hanisch
>            Priority: Minor
>         Attachments: JOHNZON159.java
>
>
> This is a minor one and can be easily worked around using explicit property names like
> {{@JsonbPropertyOrder(value = \{"name", "mimeType"})}}
> Not sure about the other built-in strategies. The order of the test case is always the same independent of the specified property order strategy.



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