JMSSerializerBundle icon indicating copy to clipboard operation
JMSSerializerBundle copied to clipboard

Please add deserialization for @XmlAttributeMap

Open Stanislavsky34200 opened this issue 9 years ago • 5 comments

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. Thank you.

Stanislavsky34200 avatar Feb 18 '16 06:02 Stanislavsky34200

@goetas Is this planned to implement?

trickreich avatar Oct 10 '17 10:10 trickreich

@trickreich I never had an use case for it (both serialization and deserialization)... not really planned. Obviously a PR from somebody else is welcome.

goetas avatar Oct 16 '17 07:10 goetas

@goetas I have actually two problems with this bundle:

  • Deserialization of xml-key-value-pairs
  • Deserialization of xml-attribute-map

trickreich avatar Oct 16 '17 07:10 trickreich

I see... effectively the features you are using are available only when serializing.

goetas avatar Oct 16 '17 07:10 goetas

Sadly that`s correct

trickreich avatar Oct 16 '17 07:10 trickreich