YAML Reference -------------- :: # MyBundle\Resources\config\serializer\ClassName.yml Fully\Qualified\ClassName: exclusion_policy: ALL xml_root_name: foobar exclude: true access_type: public_method # defaults to property accessor_order: custom custom_accessor_order: [propertyName1, propertyName2, ..., propertyNameN] properties: some-property: exclude: true expose: true access_type: public_method # defaults to property type: string serialized_name: foo since_version: 1.0 until_version: 1.1 groups: [foo, bar] xml_attribute: true inline: true read_only: true xml_list: inline: true entry_name: foo xml_map: inline: true key_attribute_name: foo entry_name: bar callback_methods: pre_serialize: [foo, bar] post_serialize: [foo, bar] post_deserialize: [foo, bar]