Skip to content

Commit b3f570e

Browse files
committed
[#7654] Minor wording change
1 parent 92c9ea9 commit b3f570e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

serializer/encoders.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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

3838
The ``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

4444
The ``XmlEncoder``
@@ -72,4 +72,5 @@ Be aware that this encoder will consider keys beginning with ``@`` as attributes
7272
The ``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.

0 commit comments

Comments
 (0)