PHP Symfony\Component\Serializer Serializer - 30 examples found. These are the top rated real world PHP examples of Symfony\Component\Serializer\Serializer extracted from open source projects. You can rate examples to help us improve the quality of examples.
objects are turned into arrays by normalizers
arrays are turned into various output formats by encoders
$serializer->serialize($obj, 'xml')
$serializer->decode($data, 'xml')
$serializer->denormalize($data, 'Class', 'xml')
Author:
Jordi Boggiano (j.boggiano@seld.be)
Author:
Johannes M. Schmitt (schmittjoh@gmail.com)