I'm using public fields as enums, and don't want them serialized. In fact they are final, so they can't be de-serialized. More generally, can I control which parts of beans get serialized? Thanks in advance.
I'm using public fields as enums, and don't want them serialized. In fact they are final, so they can't be de-serialized. More generally, can I control which parts of beans get serialized? Thanks in advance.