DEV Community

Discussion on: Do we really need getters/setters?

Collapse
 
mateuszjarzyna profile image
Mateusz Jarzyna

But serialization frameworks requires that convention. Hibernate/Jacson and other are looking for methods that starts with get/is/set to read or set the value.

Thread Thread
 
andsmile profile image
Andrii

As I know Hibernate does not always need getters.
But it is good point.