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
We will talk along the way the classes that are not mentioned here, yet.
The text was updated successfully, but these errors were encountered:
JooHyukKim
changed the title
Proposal for Renaming of properties for Naming Symmetry
[Jackson-3] Proposal for Renaming of properties for Naming Symmetry
Jul 20, 2024
I like this idea. I think I'd like to get FasterXML/jackson-databind#4396 merged before this, but we can proceed with renaming right after (technically it is not strictly necessary to order things this way but might be slightly less problem merging).
Proposal
I propose the following naming schema to provide a clear and consistent structure:
Serialization Side
PropertyWriter
remains the sameBeanPropertyWriter
remains the sameAnyGetterWriter
->AnyGetterPropertyWriter
Deserialization Side
SettableBeanProperty
->PropertyReader
ObjectIdValueProperty
->ObjectIdValuePropertyReader
CreatorProperty
->CreatorPropertyReader
SettableAnyProperty
->AnySetterPropertyReader
Example Class Hierarchy
Current (AS-IS)
PropertyWriter
->BeanPropertyWriter
->AnyGetterWriter
SettableBeanProperty
->ObjectIdValueProperty
/CreatorProperty
->SettableAnyProperty
Proposed (TO-BE)
PropertyWriter
->BeanPropertyWriter
->AnyGetterPropertyWriter
PropertyReader
->ObjectIdValuePropertyReader
/CreatorPropertyReader
->AnySetterPropertyReader
Benefits
Note
We will talk along the way the classes that are not mentioned here, yet.
The text was updated successfully, but these errors were encountered: