schmittjoh/JMSSerializerBundle — Issue #69: Serialization metadata override in extending class
Author: mvrhov
Created: 2012-01-30 12:58:32+00:00
State: open

Is there any way I can override or define metadata only for the last class in hierarchy and that would be the rules you'd want the specific object to be serialized by.

The excellent example of where this would come in handy is when you are extending a user model from FOSUB and would like to exclude some properties from being serialized. The bundle doesn't ship with any serialization metadata and even if it would each user could have different expectations of what should and should not be serialized.