diff --git a/components/serializer.rst b/components/serializer.rst index 4eba1055433..b2224f28a3f 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -189,6 +189,8 @@ when constructing the normalizer:: 'allow_extra_attributes' => false, ]); +.. include:: /_includes/_annotation_loader_tip.rst.inc + Deserializing in an Existing Object ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -368,8 +370,6 @@ You are now able to serialize only attributes in the groups you want:: ); // $obj2 = MyObj(foo: 'foo', bar: 'bar') -.. include:: /_includes/_annotation_loader_tip.rst.inc - .. _ignoring-attributes-when-serializing: Selecting Specific Attributes