Data Serialization with Symfony & Drupal


Drupal 8 comes with a built-in RESTful API capable of exposing contents to standardized formats like XML or JSON. Parts of this job are delegated to the Symfony Serializer component. The Symfony Serializer component offers data serialization / deserialization of arrays and nested objects graphs. This talk introduces how the Serializer component works and how it's used inside Drupal. You will also discover how to extend its capabilities by writing and plugging new normalizers and encoders on it. Finally, the talk will focus on the new improvments made to the component for the upcoming Symfony 2.7 LTS version.

Session Track


Experience Level


Drupal Version

When & Where

Tuesday, 12 May, 2015 - 14:15 to 15:15
411 - Symfony