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 5863e4b6a1 minor #22555 [Serializer] Add missing normalizer options constants (ogizanagi)
This PR was merged into the 3.3-dev branch.

Discussion
----------

[Serializer] Add missing normalizer options constants

| Q             | A
| ------------- | ---
| Branch?       | master (3.3)
| Bug fix?      | not really
| New feature?  | yesish, but for 3.3 as those options were added on this branch and not released yet
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/22537#discussion_r113719848
| License       | MIT
| Doc PR        | N/A

As seen in https://github.com/symfony/symfony/pull/22537#discussion_r113719848.

@dunglas : I'm not sure about the exposing the `key_type` option as a constant in `ArrayDenormalizer`/`AbstractObjectNormalizer`, as it looks more or less like a detail of the AbstractObjectNormalizer implementation, but anyway it should be in 3.2 if we add it, so I haven't included it here.
However, I wonder if this option shouldn't directly accept a string too, rather than just a `Symfony\Component\PropertyInfo\Type` instance if we want to consider this option "public"?

Commits
-------

b0c414f2c8 [Serializer] Add missing normalizer options constants
2017-04-29 08:51:18 -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 [Serializer] Allow to pass csv encoder options in context 2017-04-26 16:04:52 +02: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 [Serializer] Add missing normalizer options constants 2017-04-27 17:51:26 +02:00
Tests [Serializer] Allow to pass csv encoder options in context 2017-04-26 16:04:52 +02: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 fail when detecting risky tests 2017-04-12 09:39:27 +02: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