Interface used to convert POJOs to simple strings in HTTP headers, query parameters, form-data parameters, and URI path variables.
Parent class for all Juneau serializers.
Builder class for building instances of serializers.
Represents a group of
Builder class for creating instances of
Class for listening for serialize events during a serialization.
Represents a serializer and media type that matches an HTTP
A wrapper around an object that a serializer sends its output to.
Serializer session that lives for the duration of a single use of
Runtime arguments common to all serializer sessions.
Simple wrapper around a standard
General exception thrown whenever an error occurs during serialization.
The serialization API is designed to be easily extensible by developers.
If you are writing your own serializer, you will typically subclass directly from either
SerializerGroup class represents a group of serializers registered
with the media types they handle.
SerializerGroup class provides the following features:
SerializerGroup for additional information.
The following example shows a simple serializer that converts images to output streams using standard JRE classes.
Serializer that take advantage of the entire
org.apache.juneau.CoreObject interface to be able to
serialize arbitrary beans and POJOs is considerably more complex and outside the scope of this document.
If developing such a serializer, the best course of action would be to replicate what occurs in the
Copyright © 2017 Apache. All rights reserved.