Preserve order of @JsonAnySetter creator property arguments (original) (raw)
Non-creator @JsonAnySetter properties have their arguments returned in a LinkedHashMap, preserving their order. This is useful e.g. when outputing back to JSON.
However, when switching to creator properties (e.g. when converting a class to a record, now that @JsonAnySetter creator properties are supported), this behavior is lost.
Describe the solution you'd like
Make @JsonAnySetter creator properties behave similarly to non-creator ones, using a LinkedHashMap.