Package javax.json.bind.config
Class PropertyOrderStrategy
- java.lang.Object
-
- javax.json.bind.config.PropertyOrderStrategy
-
public final class PropertyOrderStrategy extends java.lang.Object
Specifies predefined property order strategies. This strategy can be set viaJsonbConfig.withPropertyOrderStrategy(String)
- Since:
- JSON Binding 1.0
- See Also:
JsonbConfig
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ANY
Using this strategy, the order of properties is not guaranteed to retain any order.static java.lang.String
LEXICOGRAPHICAL
Using this strategy, the order of properties is lexicographical.static java.lang.String
REVERSE
Using this strategy, the order of properties is in reverse order to lexicographical order.
-
-
-
Field Detail
-
LEXICOGRAPHICAL
public static final java.lang.String LEXICOGRAPHICAL
Using this strategy, the order of properties is lexicographical.- See Also:
- Constant Field Values
-
ANY
public static final java.lang.String ANY
Using this strategy, the order of properties is not guaranteed to retain any order.- See Also:
- Constant Field Values
-
REVERSE
public static final java.lang.String REVERSE
Using this strategy, the order of properties is in reverse order to lexicographical order.- See Also:
- Constant Field Values
-
-