We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54f37f2 commit 8614a7bCopy full SHA for 8614a7b
serializer.rst
@@ -1874,7 +1874,7 @@ Preserving Empty Objetcs
1874
1875
By default, the Serializer will transform an empty array to `[]`.
1876
You can change this behavior by setting the ``AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS`` context option
1877
-to ``true``, the value would be `{}`.
+to ``true``, when the value is `\ArrayObject()` the serialization would be `{}`.
1878
1879
Handling Uninitialized Properties
1880
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments