Add support for asymetric property name serialization / deserialization#105
Add support for asymetric property name serialization / deserialization#105
Conversation
|
It might make sense to add fields like |
|
I slightly favor the seperate annotations to line up with Jackson annotations, but i like the suggestion to rename them. It always takes me a minute to translate the |
|
I didn't realize Jackson already had those annotations 🤦 I think that my confusion comes from the fact that we largely put these on immutables, and so |
|
I think its still worth renaming the annotations RosettaSerializationProperty & RosettaDeserializationProperty and have the |
Similar to
@RosettaPropertybut this adds@RosettaGetterand@RosettaSetterannotations to idependently control how serialization and deserialization naming is evaluated.When both
@RosettaPropertyand@RosettaGetter/@RosettaSetteris set priority is giving to@RosettaGetterduring serialization /@RosettaSetterduring deserialization.cc @stevie400 @Xcelled @jhaber @jaredstehler