JMSSerializerBundle
JMSSerializerBundle copied to clipboard
Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)
I use FosRestBundle which use jms serializer (looks like default) and I am unable to override default handlers in jms serializer bundle. How can I stop the default handler from...
We want to make it a general rule to not return empty properties. So instead of adding the skipWhenEmpty annotation on every property we would prefer a config option. Is...
Hi, I don't know if there is a bug or if I do it the wrong way or if this is impossible. I use single table inheritance in doctrine and...
Hi guys.. I'm trying to add some excluding groups and i can't make work this configuration. I'm using symfony 5 and this is my config: ```yaml #config/packages/jms_serializer.yaml jms_serializer: visitors: xml_serialization:...
Hello, We are stuck actually to use JMS Serializer, because we have metadatas yml files for same namespace placed in several directories. Exemple: `My/Name/Space/EntityA` is in `src/MyBundle1/Resources/config/serializer/My.Name.Space.EntityA.yml` `My/Name/Space/EntityB` is in...
I had to troubleshoot weird behavior where different environments with identically configured timezone yielded different results when deserializing dates. Explicitly setting default_timezone in the bundle configuration fixed the issue. According...
improve naming strategy handing by wrapping always custom naming strategies with the custom serialized name strategy
I am trying to create subscriber and use onPostSerialize method everything works fine until I needed to inject container in Subscriber's constructor ``` ``` I keep getting ``` Type error:...
Do you plan to support command about generating of jms annotations to entities ?
Hi! I have an entity that stores a datetime, and I use the JMSSerializer in order to return this field through an API: ```php /** * @ORM\Column(type="datetime") * * @Serializer\Type("DateTime")...