Jackson allows users to specify an explicit serialization order for ObjectNode
properties using the @JsonProperty(index = ?)
annotation. Meaning, given properties a, b, c
I can instruct Jackson to serialize them in the following order: b, a, c
. I control the exact serialization order.
Is it possible to achieve the same without the use of annotations?
I do not want alphabetic sorting. I want to specify an explicit sorting order.