- java.lang.Object
-
- jakarta.json.bind.config.PropertyOrderStrategy
-
public final class PropertyOrderStrategy extends java.lang.ObjectSpecifies 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.StringANYUsing this strategy, the order of properties is not guaranteed to retain any order.static java.lang.StringLEXICOGRAPHICALUsing this strategy, the order of properties is lexicographical.static java.lang.StringREVERSEUsing this strategy, the order of properties is in reverse order to lexicographical order.
-
Constructor Summary
Constructors Modifier Constructor Description privatePropertyOrderStrategy()Private constructor to disallow instantiation.
-
-
-
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
-
-