@Ocramius : in fact Symfony Serializer uses a strange notation. In fact, they have, for instance, "JsonEncode" (which does encoding), "JsonDecode" (which does decoding) AND "JsonEncoder" (which does both). The same for Xml. So basically, an Encoder does both. But he could have create a better naming...