Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b3f570e

Browse filesBrowse files
committed
[#7654] Minor wording change
1 parent 92c9ea9 commit b3f570e
Copy full SHA for b3f570e

File tree

1 file changed

+4
-3
lines changed
Filter options

1 file changed

+4
-3
lines changed

‎serializer/encoders.rst

Copy file name to clipboardExpand all lines: serializer/encoders.rst
+4-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.