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 5.1 branch.
Discussion
----------
Update serializer.rst
IMHO using "format" in current edition confuses readers with $format parameter next to $type
Commits
-------
c0a2ef5 Update serializer.rst
to deal with objects implementing the :phpclass:`JsonSerializable` interface
72
72
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ArrayDenormalizer` to
73
-
denormalize arrays of objects using a format like `MyObject[]` (note the `[]` suffix)
73
+
denormalize arrays of objects using for a `$type` parameter string in `MyObject[]` format (note the `[]` suffix)
74
74
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ConstraintViolationListNormalizer` for objects implementing the :class:`Symfony\\Component\\Validator\\ConstraintViolationListInterface` interface
75
75
* :class:`Symfony\\Component\\Serializer\\Normalizer\\ProblemNormalizer` for :class:`Symfony\\Component\\ErrorHandler\\Exception\\FlattenException` objects
0 commit comments