Interface JsonKeySortOrderCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides a callback for setting the sort priority of object keys in generated JSON files.
-
Method Summary
-
Method Details
-
add
Sets the sort priority for a given object key within generated JSON files.- Parameters:
key
- the key to set priority forpriority
- the priority for the key, where keys with lower priority are sorted before keys with higher priority- See Also:
- Implementation Note:
- The default priority is 2.
-