[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.188.135.3: ~ $
JMSSerializerBundle
===================

Introduction
------------
JMSSerializerBundle allows you to serialize your data into a requested
output format such as JSON, XML, or YAML, and vice versa.

You can learn more in the `documentation <http://jmsyst.com/libs/serializer>`_ for the standalone library.

Installation
------------
You can install this bundle using composer

.. code-block :: bash

    composer require jms/serializer-bundle

or add the package to your ``composer.json`` file directly.

After you have installed the package, you just need to add the bundle to your ``AppKernel.php`` file::

    // in AppKernel::registerBundles()
    $bundles = array(
        // ...
        new JMS\SerializerBundle\JMSSerializerBundle(),
        // ...
    );

Configuration
-------------
JMSSerializerBundle requires no initial configuration to get you started.

For all available configuration options, please see the :doc:`configuration reference <configuration>`.

Usage
-----
The configured serializer is available as ``jms_serializer`` service::

    $serializer = $container->get('jms_serializer');
    $serializer->serialize($data, $format);
    $data = $serializer->deserialize($inputStr, $typeName, $format);

In templates, you may also use the ``serialize`` filter:

.. code-block :: html+jinja

    {{ data | serialize }} {# serializes to JSON #}
    {{ data | serialize('json') }}
    {{ data | serialize('xml') }}

Learn more in the `documentation for the dedicated library <http://jmsyst.com/libs/serializer/master/usage>`_.

License
-------

The code is released under the `MIT license`_.

Documentation is subject to the `Attribution-NonCommercial-NoDerivs 3.0 Unported
license`_.

.. _MIT license: https://opensource.org/licenses/MIT
.. _Attribution-NonCommercial-NoDerivs 3.0 Unported license: http://creativecommons.org/licenses/by-nc-nd/3.0/


Filemanager

Name Type Size Permission Actions
cookbook Folder 0755
reference Folder 0755
configuration.rst File 8.91 KB 0644
cookbook.rst File 140 B 0644
event_system.rst File 148 B 0644
handlers.rst File 140 B 0644
index.rst File 1.82 KB 0644
installation.rst File 1011 B 0644
reference.rst File 143 B 0644
usage.rst File 131 B 0644