JMSSerializerBundle
JMSSerializerBundle copied to clipboard
Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)
| Q | A | ---------------- | ----- | Bug report? | yes/no | Feature request? | yes/no | BC Break report? | yes/no | RFC? | yes/no ## Steps...
| Bug report? | yes According to the documentation in the exclusion strategies following should work: http://jmsyst.com/libs/serializer/master/cookbook/exclusion_strategies#dynamic-exclusion-strategy ``` /** * @Exclude(if="null") */ private ?string $name; ``` It doesn't, it fails...
| Q | A | ---------------- | ----- | Bug report? | no | Feature request? | no | BC Break report? | no | RFC? | no ## Steps...
Hello, Thanks for the library, and if I could actually figure out what is wrong would submit a PR. Here's the problem. I have a project that has been this...
With version `"jms/serializer-bundle": "^3.5",` the short form of `@Exclude` (in annotations?) does not work fine: ``` /** * @var Client * * @Serializer\Exclude() * * @ORM\ManyToOne(targetEntity="Client") * @ORM\JoinColumn(name="client_id", referencedColumnName="id") */...
| Q | A | ---------------- | ----- | Bug report? | yes ## Steps required to reproduce the problem 1. Add 2 attributes in a model, one of those...
I wanted to remove the indentation from my XML output, but the format_output option doesn't seem to work. The other options seem to work well. My config/packages/jms_serializer.yaml file : ```...
| Q | A | ---------------- | ----- | Bug report? | yes | Feature request? | no | BC Break report? | yes | RFC? | no ## Steps...
Hello, it's unable to use camelCase instead of snake_case. ``` jms_serializer: property_naming: id: "jms_serializer.identical_property_naming_strategy" ``` I followed the documentation but my content is still converted to snake_case.
| Q | A | ---------------- | ----- | Bug report? | yes | Feature request? | no | BC Break report? | no | RFC? | no ## Steps...