palantir / atlasdb

Transactional Distributed Database Layer
https://palantir.github.io/atlasdb/
Apache License 2.0
52 stars 9 forks source link

Create Singleton ObjectMapper for all JSON / YAML serialization #664

Open jboreiko opened 8 years ago

jboreiko commented 8 years ago

AtlasDB should have a single configuration for all JSON / YAML serialization in order to avoid unnecessary compatibility issues internally. An example of two that would be consolidated would be the one found in AtlasDbConsoleCommand.java and AtlasDbConfigs.java

gsheasby commented 7 years ago

@SerialVelocity can you check if our timelock work has already covered this?

hsaraogi commented 7 years ago

Timelock does not consolidate Object Mappers. Also, it uses two Object mappers for serialization and deserialization.