- 
                Notifications
    
You must be signed in to change notification settings  - Fork 41
 
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
It would reduce boilerplate if JSON-B implementations were required to ship with some often-needed visibility strategies, such as (up for discussion):
PropertyNamingStrategy.PUBLIC_PROPERTY: Use public getters / setters, or public fields (if no corresponding getter / setter) for (de-)serialization. Default behavior.PropertyNamingStrategy.PUBLIC_GETTER_SETTER: Use public getters / setters for (de-)serialization.PropertyNamingStrategy.PUBLIC_FIELDS: Use public fields for (de-)serialization. Corresponding getters / setters that exist for the fields must be used.PropertyNamingStrategy.FIELDS: Use fields (of any visibility) for (de-)serialization. Corresponding getters / setters that exist for the fields must be used.
Maybe add others as well.
For convenience, these constants should be added to the PropertyNamingStrategy interface.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request