Top "Jmsserializerbundle" questions

A bundle for the Symfony 2-framework that allows you to serialize objects into a variety of output formats (such as YAML, XML or JSON).

Symfony - Deserialize json to an array of entities

I have a json object that I received by making a get API call. I make this call to receive …

php json symfony deserialization jmsserializerbundle
Add extra fields using JMS Serializer bundle

I've an entity I usually serialize using the JMS Serializer bundle. I have to add to the serialization some fields …

serialization symfony jmsserializerbundle
Serializing Entity Relation only to Id with JMS Serializer

I'm trying to serialize a entity relation with JMS Serializer. Here is the Entity: class Ad { /** * @Type("string") * @Groups({"manage"}) * * @…

php symfony jmsserializerbundle
JMSSerializer stand alone - Annotation does not exist, or cannot be auto-loaded

I am attempting to use JMSSerializer as a stand alone library to map JSON responses from an API to my …

php jmsserializerbundle
How to show null value in JSON in FOS Rest Bundle with JMS Serializer?

I had a read through this : https://github.com/schmittjoh/serializer/issues/77 but did not find any way to serialize …

php symfony fosrestbundle jmsserializerbundle
JMSSerializerBundle. no control over third party meta data

I have two entities I wish to serialize with the JMSSerializerBundle. The Music Entity has a mapping-file with exclusion_policy: …

serialization symfony symfony-2.1 symfony-2.0 jmsserializerbundle
JMS Serialize @VirtualProperty doesn't work

I'm trying to add a method to serialize, but JMS Serialize does not show the field. use JMS\Serializer\Annotation\…

php symfony jmsserializerbundle
Disable Doctrine 2 lazy loading when using JMS Serializer?

Im using Doctrine 2 ORM in my Zend project and need to serialize my Entities to JSON in several cases. ATM …

php doctrine jmsserializerbundle serialization
Deserialize array of object using jms/serializer

I want to deserialize something like this: [ { "id": 42 }, { "id": 43 } ] Any idea how to do this?

symfony jmsserializerbundle jms-serializer
JMS Serializer: How to limit the depth of serialisation for an object graph

Maybe it is just my misunderstanding of this annotation however it does not seam to work as expected. I have …

symfony jmsserializerbundle