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 fe71e8d233 minor #22137 [Serializer][XmlEncoder] Added a FORMAT constant (Zarcox)
This PR was merged into the 3.3-dev branch.

Discussion
----------

[Serializer][XmlEncoder] Added a FORMAT constant

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Added a FORMAT constant in the XmlEncoder class to normalize it like other Encoder classes.

Commits
-------

0a0901b8bc [Serializer] Added a FORMAT constant in the XmlEncoder class
2017-04-03 15:04:25 -07:00
..
Annotation Merge branch '3.2' 2016-12-17 11:47:22 +01:00
DependencyInjection [FrameworkBundle][Serializer] Move SerializerPass to the Serializer 2017-01-25 13:54:53 +01:00
Encoder minor #22137 [Serializer][XmlEncoder] Added a FORMAT constant (Zarcox) 2017-04-03 15:04:25 -07:00
Exception throw exception when extra attributes are used during an object denormalization 2016-09-22 01:36:40 +02:00
Mapping deprecate implicit string casting of mapping keys 2017-03-06 20:18:14 +01:00
NameConverter minor #21676 [Serializer] Reduce complexity of NameConverter (gadelat) 2017-02-20 09:20:53 -08:00
Normalizer Merge branch '3.2' 2017-02-28 15:44:39 +01:00
Tests Merge branch '3.2' 2017-03-22 22:42:42 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [FrameworkBundle][Serializer] Move SerializerPass to the Serializer 2017-01-25 13:54:53 +01:00
composer.json deprecate implicit string casting of mapping keys 2017-03-06 20:18:14 +01:00
LICENSE updated LICENSE year 2017-01-02 12:30:00 -08: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 [master] Fix issues reported by static analyse 2017-02-28 16:38:18 +01: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