You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into the 4.4 branch.
Discussion
----------
[Messenger] Fix default serializer not handling DateTime objects properly
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | --
| License | MIT
| Doc PR | --
I was using messenger standalone and needed to send messages in JSON format. While trying to do so using the Serializer class, I noticed that DateTime objects (present for example in RedeliveryStamp) are not serialized properly.
I fixed it by adding the proper normalizer.
I encountered it in version 5.2, but it should be applicable from version 4.4.
Before:

After:

Commits
-------
85c459c [Messenger] Fix default serializer not handling DateTime objects properly
0 commit comments