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 accessfor JSON format.MarshallableObject Interface for an object that canwrite itselfto 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 ofMarshallerandUnmarshaller.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 formatsuch as JSON or XML.StructuredWriter Interface for a writer to produce astructured formatsuch as JSON or XML.UnmarshallableObject Interface for an object that canread its datafrom 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 accessforXMLformat. -
Class Summary Class Description AbstractStructuredReader Abstract base implementation ofStructuredReader.AbstractStructuredStringWriter AbstractStructuredWriter Abstract base implementation ofStructuredWriter.MarshallingConfig ConfigMapfor marshalling. -
Enum Summary Enum Description StructuredReader.State Enum with the possible states of aStructuredReader.