Abdera includes the ability to plug in custom serializers. These are implementations of the org.apache.abdera.writer.Writer interface and are configured via the classpath.
There are two custom Writer implementations that ship with Abdera. The PrettyXML writer and a JSON Writer.
Pretty XML Writer
The Pretty XML Writer is always available.
The JSON XML Writer is provided by the JSON Extension Jar
The JSON Writer is only capable of writing Atom Entry documents.
You can implement your own Writer by extending the AbstractNamedWriter class.
Once implemented, the custom writer is registered with Abdera by listing the full class name of the writer in the META-INF/services/org.apache.abdera.writer.NamedWriter file. You can include this file in your applications jar or classpath and it will be automatically discovered by Abdera.