File tree 1 file changed +4
-3
lines changed
Filter options
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:
32
32
33
33
.. versionadded :: 3.2
34
34
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
36
36
Symfony 3.2.
37
37
38
38
The ``JsonEncoder ``
39
39
~~~~~~~~~~~~~~~~~~~
40
40
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
42
42
:phpfunction: `json_encode ` and :phpfunction: `json_decode ` functions.
43
43
44
44
The ``XmlEncoder ``
@@ -72,4 +72,5 @@ Be aware that this encoder will consider keys beginning with ``@`` as attributes
72
72
The ``YamlEncoder ``
73
73
~~~~~~~~~~~~~~~~~~~
74
74
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