diff --git a/components/serializer.rst b/components/serializer.rst index d56dece2d21..3a7270c252b 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -441,8 +441,8 @@ Ignoring Attributes All attributes are included by default when serializing objects. There are two options to ignore some of those attributes. -Option 1: Using ``@Ignore`` Annotation -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Option 1: Using ``#[Ignore]`` Attribute +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. configuration-block::