Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 30, 2024 via composer

jms/serializer-bundle 5.4.0

Allows you to easily serialize, and deserialize data of any complexity
Package summary
Share
0
issues
1
license
32
MIT
Package created
13 Nov 2011
Version published
12 Dec 2023
Maintainers
2
Total deps
32
Direct deps
6
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
32 Packages, Including:
doctrine/instantiator@2.0.0
doctrine/lexer@3.0.1
jms/metadata@2.8.0
jms/serializer@3.30.0
jms/serializer-bundle@5.4.0
phpstan/phpdoc-parser@1.28.0
psr/cache@3.0.0
psr/container@2.0.2
psr/event-dispatcher@1.0.0
psr/log@3.0.0
symfony/cache@v7.0.7
symfony/cache-contracts@v3.4.2
symfony/config@v7.0.7
symfony/dependency-injection@v7.0.7
symfony/deprecation-contracts@v3.4.0
symfony/error-handler@v7.0.7
symfony/event-dispatcher@v7.0.7
symfony/event-dispatcher-contracts@v3.4.2
symfony/filesystem@v7.0.7
symfony/finder@v7.0.7
symfony/framework-bundle@v7.0.7
symfony/http-foundation@v7.0.7
symfony/http-kernel@v7.0.7
symfony/polyfill-ctype@v1.29.0
symfony/polyfill-mbstring@v1.29.0
symfony/polyfill-php80@v1.29.0
symfony/polyfill-php83@v1.29.0
symfony/process@v7.0.7
symfony/routing@v7.0.7
symfony/service-contracts@v3.4.2
symfony/var-dumper@v7.0.7
symfony/var-exporter@v7.0.7
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

6
All Dependencies CSV
ⓘ This is a list of jms/serializer-bundle 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
jms/metadata2.8.023.39 kBMIT
prod
jms/serializer3.30.0-MIT
prod
symfony/configv7.0.7-MIT
prod dev
symfony/dependency-injectionv7.0.7-MIT
prod dev
symfony/finderv7.0.7-MIT
prod dev
symfony/framework-bundlev7.0.7-MIT
prod

Visualizations

Frequently Asked Questions

What does jms/serializer-bundle do?

The jms/serializer-bundle is a composer package that allows you to easily serialize and deserialize data of any complexity in PHP. This powerful tool integrates the serializer library into Symfony - a PHP framework for web applications. The goal of serialization is to transform object data into a format that can be stored or transmitted and be reconstructed later. The serialization process can handle complex data structures, converting them into a single string of text which makes it feasible for storing or transmitting across network calls.

How do you use jms/serializer-bundle?

To use jms/serializer-bundle, first, ensure you have composer installed in your system then run the command: composer require jms/serializer-bundle. Once that is done, you can seamlessly integrate this bundle with your Symfony framework. In your PHP code, you can now use the serialization and deserialization services via dependency injection.

For example, to use serialization you can do something like this:

$serializer = $this->get('jms_serializer');
$jsonContent = $serializer->serialize($data, 'json');

The above code will serialize your $data into a JSON string.

To use deserialization, you can do the following :

$serializer = $this->get('jms_serializer');
$data = $serializer->deserialize($jsonContent, 'YourClassName', 'json');

This will take a JSON string $jsonContent and convert or deserialize it back into an object of type YourClassName.

Where are the jms/serializer-bundle docs?

Comprehensive documentation to understand more about jms/serializer-bundle and its rich features is available at JMS Serializer Bundle Documentation. Here, you'll find detailed explanations and usage examples to get you started and solve the most common—and even some rare—problems you may encounter.