This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Serializer
Fabien Potencier 4a0be68dd4 feature #19137 [Serializer] Allow to use easily static constructors (Ener-Getick)
This PR was merged into the 3.2-dev branch.

Discussion
----------

[Serializer] Allow to use easily static constructors

| Q             | A
| ------------- | ---
| Branch?       | "master"
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/19027#issuecomment-225527475
| License       | MIT
| Doc PR        | -

This PR allows to simply use static constructors to instantiate objects with the serializer by extending the default normalizers.

Commits
-------

9be6484 [Serializer] Allow to use easily static constructors
2016-06-29 07:52:42 +02:00
..
Annotation [Serializer] Add a MaxDepth option 2016-01-26 13:18:08 +01:00
Encoder Merge branch '3.1' 2016-06-29 07:43:10 +02:00
Exception Merge branch '2.8' 2015-08-24 09:21:16 +02:00
Mapping Merge branch '3.0' into 3.1 2016-06-29 07:41:56 +02:00
NameConverter removed dots at the end of @param and @return 2016-06-28 08:24:06 +02:00
Normalizer feature #19137 [Serializer] Allow to use easily static constructors (Ener-Getick) 2016-06-29 07:52:42 +02:00
Tests [Serializer] Allow to use easily static constructors 2016-06-26 21:23:55 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [Serializer] Integrate the PropertyInfo Component 2016-04-19 17:00:22 +02:00
composer.json updated version to 3.2 2016-05-13 13:13:23 -05:00
LICENSE Update copyright year 2016-01-01 23:53:47 -03:00
phpunit.xml.dist Add missing exclusions from phpunit.xml.dist 2015-11-18 09:19:46 +01:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
Serializer.php Fix merge 2016-06-06 11:00:08 +02:00
SerializerAwareInterface.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
SerializerAwareTrait.php Add normalizer / denormalizer awarness 2016-02-19 11:48:56 +01:00
SerializerInterface.php @throws annotations should go after @return 2016-06-06 13:03:51 +02:00

Serializer Component

With the Serializer component it's possible to handle serializing data structures, including object graphs, into array structures or other formats like XML and JSON. It can also handle deserializing XML and JSON back to object graphs.

Resources