We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 396c09c commit 78de6f6Copy full SHA for 78de6f6
components/serializer.rst
@@ -627,7 +627,7 @@ defines a ``Person`` entity with a ``firstName`` property:
627
This custom mapping is used to convert property names when serializing and
628
deserializing objects::
629
630
- $serialized = $serializer->serialize(new Person("Kévin"), 'json');
+ $serialized = $serializer->serialize(new Person('Kévin'), 'json');
631
// {"customer_name": "Kévin"}
632
633
Serializing Boolean Attributes
0 commit comments