diff --git a/components/serializer.rst b/components/serializer.rst index f72d4e91638..2af0ad3fb96 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -347,8 +347,8 @@ Given you have the following object:: class Company { - public name; - public address; + public $name; + public $address; } And in the serialized form, all attributes must be prefixed by ``org_`` like