Skip to content

Commit 56be700

Browse files
authored
Update serializer.rst
1 parent 6a3b355 commit 56be700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ All attributes are included by default when serializing objects. You have two al
419419
* `Option 2: Using the context`_
420420

421421
Option 1: Using ``@Ignore`` annotation
422-
--------------------------------------
422+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423423

424424
.. configuration-block::
425425

@@ -485,7 +485,7 @@ You are now able to ignore specific attributes during serialization::
485485

486486

487487
Option 2: Using the context
488-
---------------------------
488+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
489489

490490
By providing an array via the ``AbstractNormalizer::IGNORED_ATTRIBUTES``
491491
key in the ``context`` parameter of the desired serializer method::

0 commit comments

Comments
 (0)