diff --git a/serializer.rst b/serializer.rst
index d041af7faa1..fa3a30796cb 100644
--- a/serializer.rst
+++ b/serializer.rst
@@ -368,6 +368,87 @@ stored in one of the following locations:
.. _serializer-enabling-metadata-cache:
+Using nested attributes
+-----------------------
+
+To map nested properties, a ``SerializedPath`` can be defined with annotations,
+attributes and YAML or XML configurations:
+
+.. configuration-block::
+
+ .. code-block:: php-annotations
+
+ namespace App\Model;
+
+ use Symfony\Component\Serializer\Annotation\SerializedPath;
+
+ class Person
+ {
+ /**
+ * @SerializedPath("[profile][information][birthday]")
+ */
+ private string $birthday;
+
+ // ...
+ }
+
+ .. code-block:: php-attributes
+
+ namespace App\Model;
+
+ use Symfony\Component\Serializer\Annotation\SerializedPath;
+
+ class Person
+ {
+ #[SerializedPath('[profile][information][birthday]')]
+ private string $birthday;
+
+ // ...
+ }
+
+ .. code-block:: yaml
+
+ App\Model\Person:
+ attributes:
+ dob:
+ serialized_path: '[profile][information][birthday]'
+
+ .. code-block:: xml
+
+
+
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: