Class PropertyOrderStrategy

java.lang.Object
javax.json.bind.config.PropertyOrderStrategy

public final class PropertyOrderStrategy extends Object
Specifies predefined property order strategies. This strategy can be set via JsonbConfig.withPropertyOrderStrategy(String)
Since:
JSON Binding 1.0
See Also:
  • Field Details

    • LEXICOGRAPHICAL

      public static final String LEXICOGRAPHICAL
      Using this strategy, the order of properties is lexicographical.
      See Also:
    • ANY

      public static final String ANY
      Using this strategy, the order of properties is not guaranteed to retain any order.
      See Also:
    • REVERSE

      public static final String REVERSE
      Using this strategy, the order of properties is in reverse order to lexicographical order.
      See Also: