Module io.github.mmm.marshall
Package io.github.mmm.marshall
Provides the API for marshalling and unmarshalling data.
ATTENTION:
Generic methods such as
Marshall API
This package provides the API for marshalling (serializing) and unmarshalling (deserialzing) objects to structured formats such as JSON or XML.ATTENTION:
Generic methods such as
StructuredWriter.writeValue(Object)
and especially
StructuredReader.readValue(Class)
only exist for convenience and simple usage. They
only support the following standard Java value types:
-
Interface Summary Interface Description JsonFormat Simple access
for JSON format.MarshallableObject Interface for an object that canwrite itself
to structured formats such as JSON or XML.Marshaller<T> Interface for a marshaller that canwrite
(marshall or serialize) an object to structured formats such as JSON or XML.Marshalling<T> A combination ofMarshaller
andUnmarshaller
.MarshallingObject StructuredFormat Interface providing a structured format such as JSON or XML.StructuredFormatFactory Factory to create instances ofStructuredFormat
.StructuredFormatProvider Factory to create instances ofStructuredFormat
.StructuredReader Interface for a reader to parse astructured format
such as JSON or XML.StructuredWriter Interface for a writer to produce astructured format
such as JSON or XML.UnmarshallableObject Interface for an object that canread its data
from structured formats such as JSON or XML.Unmarshaller<T> Interface for an unmarshaller that canread
(unmarshall or de-serialize) an object from structured formats such as JSON or XML.XmlFormat Simple access
forXML
format. -
Class Summary Class Description AbstractStructuredReader Abstract base implementation ofStructuredReader
.AbstractStructuredStringWriter AbstractStructuredWriter Abstract base implementation ofStructuredWriter
.MarshallingConfig ConfigMap
for marshalling. -
Enum Summary Enum Description StructuredReader.State Enum with the possible states of aStructuredReader
.