You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jackson has a setting that will output fields in alphabetical order, which can be enabled through Micronaut (when using Jackson) via jackson.deserialization.sort-properties-alphabetically=true.
I store JSON documents as regression test snapshots, and sorting properties alphabetically makes the documents more stable.
My workaround for the time being will be to take the JSON produced by Serde and run it back through Jackson in my tests to sort the properties.
The text was updated successfully, but these errors were encountered:
Feature description
Jackson has a setting that will output fields in alphabetical order, which can be enabled through Micronaut (when using Jackson) via
jackson.deserialization.sort-properties-alphabetically=true
.I store JSON documents as regression test snapshots, and sorting properties alphabetically makes the documents more stable.
My workaround for the time being will be to take the JSON produced by Serde and run it back through Jackson in my tests to sort the properties.
The text was updated successfully, but these errors were encountered: