serialization.xml 829 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" ?>
  2. <serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping http://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd">
  5. <class name="Symfony\Component\Serializer\Tests\Fixtures\GroupDummy">
  6. <attribute name="foo">
  7. <group>group1</group>
  8. <group>group2</group>
  9. </attribute>
  10. <attribute name="bar">
  11. <group>group2</group>
  12. </attribute>
  13. </class>
  14. <class name="Symfony\Component\Serializer\Tests\Fixtures\MaxDepthDummy">
  15. <attribute name="foo" max-depth="2" />
  16. <attribute name="bar" max-depth="3" />
  17. </class>
  18. </serializer>