1<?xml version="1.0" encoding="UTF-8"?> 2<serializer> 3 <class name="JMS\Serializer\Tests\Fixtures\AuthorReadOnly" xml-root-name="author"> 4 <property name="id" read-only="true"/> 5 <property name="name" serialized-name="full_name" access-type="public_method" accessor-getter="getName" read-only="true"/> 6 </class> 7</serializer>