I use this annotation for property "picture"
@JMS\XmlAttribute()
Build result with methods
\JMS\Serializer\SerializerBuilder::create()->build()->serialize($data, 'xml')
Object with property $picture value "http ://site.com/?a=1&b=2" serialized to xml
<tag picture="http://example.com/?a=1&b=2"
How to setup serialize without &?
I need simple '&' do not decode & into an HTML entity