BaseTypeSerializer specification that contains common logic to handle recursive scenarios.MetadataTypeWriters implementations that serialize MetadataType objects
into a readable and processable JSON file, that can be deserialize again into
a MetadataType using a SerializedMetadataTypeLoader.TypeSerializers, knows how to write all the common parts of
MetadataTypes such as annotations, format, etc.ObjectTypeReferenceHandler which handles references
by looking for the MetadataTypeConstants.REF_FLAG prefix.TypeAnnotation implementation.TypeAdapter implementation to be able to serialize EnumAnnotation instances.MetadataType serialization to resolve the Class for a TypeAnnotation
by name in case if it was not already mapped in by TypeAnnotationSerializerExtender.TypeSerializer for FunctionTypes.TypeAnnotation.getName()) and
the correspondent concrete class (TypeAnnotation#getClass()), this allows to the serialization to write a more
compact and easy to read name, instead of using the full qualifier name of the concrete class.ObjectType which was registered through
SerializationContext.registerObjectType(ObjectType).ObjectTypeReferenceHandler implementation for type serialization
that declare an inner type catalog in its serialized structure.TypeLoader that creates instances of MetadataType from JSON representations generated by
JsonMetadataTypeWriter.referenceHandlerMetadataTypeWriter implementation that serialize a full MetadataType
structure to a matching JSON object.referenceHandlerJsonMetadataTypeWriter.MetadataType JSON representation and returns a new MetadataType instance.MetadataType JSON representation and returns a new MetadataType instance.MetadataType JSON representation and returns a new MetadataType instance.RuntimeException that declares that an error occurred serializing or deserializing a MetadataType object.RuntimeException that declares that an error occurred serializing or deserializing a MetadataType object.MetadataType serialization and deserializationTypeDeserializers for concrete MetadataType implementations.referenceHandlerMetadataType objects
into a readable and processable JSON file, that can be deserialize again into
a MetadataType using a SerializedMetadataTypeLoader.ObjectTypeReferenceHandler which handles
no reference.ObjectType instances
which are not explicitly defined but instead pointed at by some meansTypeSerializer for ObjectTypesTypeAdapterFactory implementation which creates instances of OnlyOneFieldTypeAdapter when a new object
is required to be serialized and that type is a registered TypeAnnotation.TypeAdapterFactory implementation which creates OptionalTypeAdapter instances when a Optional
object is needed to be serialized or deserialized.JsonReader containing the JSON representation of a MetadataType, it gets deserialized and
returns the instance.typeReference has the MetadataTypeConstants.REF_FLAG then
it returns the type registered on the DefaultObjectTypeReferenceHandler.serializationContext under such
key.TypeBuilder referenced by the given typeId.TypeBuilder referenced by the given typeId.SerializedMetadataTypeLoader that creates instances of MetadataType from JSON representations generated by
ReducedJsonMetadataTypeWriter.MetadataTypeWriter implementation that serializes a MetadataType object into a JSON
object with a reduced structure by creating a type catalog for all ObjectTypes found.Gson TypeAdapter that helps to serialize and deserialize
MetadataType objects, by using both ReducedJsonMetadataTypeWriter and
ReducedJsonMetadataTypeLoader to generate a light-weight JSON for better generation,
transportation and storage.ObjectType and returns a key which can be used
as a reference to such typeMetadataTypeT MetadataType into a JsonWriter, a Stack is
also passed to this method to track the serialization process and handle recursive cases.TypeAnnotation implementation.MetadataType objects
from a JSON file.ReducedJsonMetadataTypeWriter.ObjectType retrieves if should be written as a reference or not.ObjectType retrieves if should be written as a reference or not.TypeSerializer for SimpleTypes implementations.MetadataType, serializes it into JSON format, the result of the serialization will be the output
of the operation as a StringTypeSerializer for TupleTypes.TypeAnnotation.MetadataType serialization.MetadataType serialization.TypeAnnotationSerializer which have been enriched with SPI discovered implementations
of TypeAnnotationSerializerMetadataTypeTypeSerializer for TupleTypes.MetadataType serializers implementations that writes
into a JsonWriter.MetadataTypeVisitor that serializes MetadataTypes depending on it's
nature.MetadataType, serializes it into a JSON format, the result of the serialization will be written
by the .MetadataType, serializes it into a JSON format.MetadataType as parameter, this serializes it, and writes the Json object using the MetadataType, serializes it into a JSON format.MetadataType, serializes it into a JSON format, the result of the serialization will be written
by the .MetadataType, serializes it into a JSON format.writer to write a reference to the given type.writer to write a reference to the given type.writer to write a reference to the given type.Copyright © 2020 MuleSoft, Inc.. All rights reserved.