Skip to content

Commit

Permalink
minor #5429 Promote Symfony's builtin serializer instead of JMS (javi…
Browse files Browse the repository at this point in the history
…ereguiluz)

This PR was merged into the 2.7 branch.

Discussion
----------

Promote Symfony's builtin serializer instead of JMS

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes
| Applies to    | all
| Fixed tickets | #5069

Commits
-------

beac11e Use the built-in serializer instead of promoting JMS
  • Loading branch information
weaverryan committed Jul 12, 2015
2 parents 1f74e07 + beac11e commit 2e9cfb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbook/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ How to Use the Serializer

Serializing and deserializing to and from objects and different formats (e.g.
JSON or XML) is a very complex topic. Symfony comes with a
:doc:`Serializer Component</components/serializer>`, which gives you some
:doc:`Serializer Component </components/serializer>`, which gives you some
tools that you can leverage for your solution.

In fact, before you start, get familiar with the serializer, normalizers
and encoders by reading the :doc:`Serializer Component</components/serializer>`.
and encoders by reading the :doc:`Serializer Component </components/serializer>`.

Activating the Serializer
-------------------------
Expand Down Expand Up @@ -80,7 +80,7 @@ Adding Normalizers and Encoders
your own normalizer.

Once enabled, the ``serializer`` service will be available in the container
and will be loaded with two :ref:`encoders<component-serializer-encoders>`
and will be loaded with two :ref:`encoders <component-serializer-encoders>`
(:class:`Symfony\\Component\\Serializer\\Encoder\\JsonEncoder` and
:class:`Symfony\\Component\\Serializer\\Encoder\\XmlEncoder`) and the
:ref:`ObjectNormalizer normalizer <component-serializer-normalizers>`.
Expand Down

0 comments on commit 2e9cfb9

Please sign in to comment.