Why are some objects only serialized as their id? [closed]
Closed 8 hours ago.
Why are some objects only serialized as their id? [closed]
Closed 8 hours ago.
Why are some objects only serialized as their id? [closed]
Closed 8 hours ago.
Jackson library: establishing order of a json file when using object mapper
I have a springboot application, which among other things, uses object mapper from Jackson library to convert json arrays (that are in string format) to POJO and after some works on the said arrays uses the same mapper to convert them back to json strings. I want to make sure that my fields (within the json arrays) are in a certain order whenever I convert POJO back to json, for the sake of readability and consistency (as well as it being a requirement).