schmittjoh/JMSSerializerBundle — pull request #235 by megazoll (2012-11-16 15:47:51+00:00)
Title: Change order for pre_serialize event in code

When pre_serialize were calling before finding custom handler, we can change type of data and use custom handler for serializing data.

For example, we can in pre_serialize handler change type to \JsonSeriailzable if object implements this Interface and register own handler for serializing object via jsonSerialize method.