File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ The Serializer component provides built-in encoders:
3232
3333.. versionadded :: 3.2
3434 The :class: `Symfony\\ Component\\ Serializer\\ Encoder\\ CsvEncoder ` and the
35- :class: `Symfony\\ Component\\ Serializer\\ Encoder\\ YamlEncoder ` were added in
35+ :class: `Symfony\\ Component\\ Serializer\\ Encoder\\ YamlEncoder ` were introduced in
3636 Symfony 3.2.
3737
3838The ``JsonEncoder ``
3939~~~~~~~~~~~~~~~~~~~
4040
41- The ``JsonEncoder `` is much simpler and is based on the PHP
41+ The ``JsonEncoder `` encodes to and decodes from JSON strings, based on the PHP
4242:phpfunction: `json_encode ` and :phpfunction: `json_decode ` functions.
4343
4444The ``XmlEncoder ``
@@ -72,4 +72,5 @@ Be aware that this encoder will consider keys beginning with ``@`` as attributes
7272The ``YamlEncoder ``
7373~~~~~~~~~~~~~~~~~~~
7474
75- This encoder requires the :doc: `Yaml Component </components/yaml >`.
75+ This encoder requires the :doc: `Yaml Component </components/yaml >` and
76+ transforms from and to Yaml.
You can’t perform that action at this time.
0 commit comments