Skip to content

Commit

Permalink
Moving files into the new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Sep 18, 2016
1 parent 2c66c83 commit 33e5b76
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Usage

Using the Serializer component is really simple. You just need to set up
the :class:`Symfony\\Component\\Serializer\\Serializer` specifying
which encoders and normalizers are going to be available::
which encoders and normalizer are going to be available::

use Symfony\Component\Serializer\Serializer;
use Symfony\Component\Serializer\Encoder\XmlEncoder;
Expand All @@ -61,11 +61,6 @@ The preferred normalizer is the
but other normalizers are available. All the examples shown below use
the ``ObjectNormalizer``.

.. seealso::

Read the dedicated sections to learn more about :doc:`/components/serializer/encoders`
and `Normalizers`_.

Serializing an Object
---------------------

Expand Down
8 changes: 0 additions & 8 deletions components/serializer/index.rst

This file was deleted.

10 changes: 8 additions & 2 deletions serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ A service leveraging `APCu`_ (and APC for PHP < 5.5) is built-in.
),
));
Going Further with the Serializer Component
-------------------------------------------
Going Further with the Serializer
---------------------------------

`ApiPlatform`_ provides an API system supporting `JSON-LD`_ and `Hydra Core Vocabulary`_
hypermedia formats. It is built on top of the Symfony Framework and its Serializer
Expand All @@ -237,6 +237,12 @@ and a caching system.
If you want to leverage the full power of the Symfony Serializer component,
take a look at how this bundle works.

.. toctree::
:maxdepth: 1
:glob:

serializer/*

.. _`APCu`: https://github.com/krakjoe/apcu
.. _`ApiPlatform`: https://github.com/api-platform/core
.. _`JSON-LD`: http://json-ld.org
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 33e5b76

Please sign in to comment.