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

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

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

Romain Manni-Bucau edited comment on JOHNZON-159 at 2/21/18 11:03 AM:
----------------------------------------------------------------------

But not the javadoc https://static.javadoc.io/javax.json.bind/javax.json.bind-api/1.0/javax/json/bind/annotation/JsonbPropertyOrder.html ;)

I don't recall if ANY was particular but REVERSE in your examples refers to the "reverse" property

submitted: https://github.com/javaee/jsonb-spec/pull/69


was (Author: romain.manni-bucau):
But not the javadoc https://static.javadoc.io/javax.json.bind/javax.json.bind-api/1.0/javax/json/bind/annotation/JsonbPropertyOrder.html ;)

I don't recall if ANY was particular but REVERSE in your examples refers to the "reverse" property

> @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)