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 deedeea commit f42d94bCopy full SHA for f42d94b
serializer.rst
@@ -156,11 +156,6 @@ resources. This context is passed to all normalizers. For example:
156
uses ``empty_iterable_as_object`` to represent empty objects as ``{}`` instead
157
of ``[]`` in JSON.
158
159
-.. versionadded:: 5.4
160
-
161
- The usage of the ``empty_arrays_as_object`` option by default in the
162
- Serializer was introduced in Symfony 5.4.
163
164
You can pass the context like following::
165
166
$serializer->serialize($something, 'json', [
0 commit comments