73ddf39ffc
This PR was merged into the 2.3 branch. Discussion ---------- [Serializer] properly handle null data when denormalizing | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #10794 | License | MIT | Doc PR | Commits ------- 123fc62 properly handle null data when denormalizing |
||
---|---|---|
.. | ||
Encoder | ||
Exception | ||
Normalizer | ||
Tests | ||
.gitignore | ||
CHANGELOG.md | ||
composer.json | ||
LICENSE | ||
phpunit.xml.dist | ||
README.md | ||
Serializer.php | ||
SerializerAwareInterface.php | ||
SerializerInterface.php |
Serializer Component
With the Serializer component its possible to handle serializing data structures, including object graphs, into array structures or other formats like XML and JSON. It can also handle deserializing XML and JSON back to object graphs.
Resources
You can run the unit tests with the following command:
$ cd path/to/Symfony/Component/Serializer/
$ composer.phar install
$ phpunit