-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Labels
Milestone
Description
When a JSON file is committed to Central Dogma, the content is normalized by Jackson. The approach has a few drawbacks.
- Depending on how
ObjectMapperis configured, the field order may change, which makes it harder to compare with the original file. - If comments are removed during Jackson's normalization process, it makes supporting JSON5 difficult.
For that reason, I suggest storing the original file as it is. The previous motivation for normalizing content was to reduce diff sizes used for replication, but this can be addressed through compression instead. #1192