JMSSerializerBundle icon indicating copy to clipboard operation
JMSSerializerBundle copied to clipboard

Easily serialize, and deserialize data of any complexity (supports XML, JSON, YAML)

Results 95 JMSSerializerBundle issues
Sort by recently updated
recently updated
newest added

I'm looking for a feature with jms_serliazer. Ok let me explain, suppose we have a function `getArticlesAction()`, and a `query param` called `group` that gonna represent the **group serialization name**....

Hi, i have a problem with @discriminator for abstract class. For example, this structure of classes don't work correctly when I try to serialize and deserialize the objects. ``` php...

serializer issue

Would be great to have the ability to define array property for all attributes of root xml node for entity and be able deserialize them in one line of code....

feature request
serializer issue

I need to have the serializer to treat null values as an empty string for **some** models (but not globally) and an obvious solution is to write a custom visitor...

question

This config seem not work. I want to config `groups` under `virtual_properties`. Is it posible? ``` yaml User: exclusion_policy: ALL virtual_properties: getEmail: serialized_name: email groups: [Detailed] ```

question
serializer issue

After reading [documentation](http://jmsyst.com/bundles/JMSSerializerBundle/master/configuration) i cant understand one thing. Where can i find full list of options for visitor and can i set different naming strategy for each of them (for...

feature request

Finally figured out why [the instructions in the docs](http://jmsyst.com/bundles/JMSSerializerBundle/master/configuration#changing-the-object-constructor) weren't working for me: it depends on the order that bundles are loaded in `AppKernel.php`. Specifically, `JMS\SerializerBundle\JMSSerializerBundle` must be loaded before...

Hi. I have, ``` /** * @JMS\Discriminator(field = "discriminator", map = { * "user_sonata": "Sonata\UserBundle\Entity\BaseUser", * "user": "Application\Sonata\UserBundle\Entity\User", * }) */ abstract class User implements UserInterface, GroupableInterface { public $discriminator;...

question
serializer issue

Hi! This is related to the DX initiative. The current docs cover a lot of topics. In fact, I almost always eventually find what I need. But for someone using...

documentation

Hi, I'm stucked since four days with a strange issue, this is my yml config of Jms Serializer (1.0.0). I need to override the FOSUserBundle serializer to apply some constraints...

question