Serializer Demystified

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Serializer Demystified

The Serializer is an essential tool when building APIs with Symfony. Knowing it in more detail can save you a lot of time when you want to customize how your data is handled. In this talk we will look at how the Symfony Serializer works by default by having a deeper look at the provided Normalizers and then we will look at some use cases for customizing both how data is serialized and deserialized.

Denis Brumann

December 03, 2020

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

48 slides
  1. GetSetMethodNormalizer get…, is…, has… set… PropertyNormalizer Reflection for accessing class

    attributes ObjectNormalizer Uses Symfony PropertyAccess: get…, is…, has… public properties add…/remove… for single entry in collections

More Decks by Denis Brumann

Other Decks in Programming