Package jakarta.json.bind.config
Class PropertyOrderStrategy
- java.lang.Object
-
- jakarta.json.bind.config.PropertyOrderStrategy
-
public final class PropertyOrderStrategy extends 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 String
ANY
Using this strategy, the order of properties is not guaranteed to retain any order.static String
LEXICOGRAPHICAL
Using this strategy, the order of properties is lexicographical.static String
REVERSE
Using this strategy, the order of properties is in reverse order to lexicographical order.
-
-
-
Field Detail
-
LEXICOGRAPHICAL
public static final String LEXICOGRAPHICAL
Using this strategy, the order of properties is lexicographical.- See Also:
- Constant Field Values
-
ANY
public static final 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 String REVERSE
Using this strategy, the order of properties is in reverse order to lexicographical order.- See Also:
- Constant Field Values
-
-