public class TypeReferenceSerializer extends BaseTypeSerializer<ObjectType>
TypeSerializer for TupleTypes.typeName| Modifier and Type | Method and Description |
|---|---|
protected void |
doSerialize(com.google.gson.stream.JsonWriter writer,
ObjectType type,
Stack<MetadataType> typeStack) |
void |
serialize(com.google.gson.stream.JsonWriter writer,
ObjectType type,
Stack<MetadataType> typeStack)
Writes a
T MetadataType into a JsonWriter, a Stack is also passed to this method to track the
serialization process and handle recursive cases. |
writeAnnotations, writeMetadataFormatpublic void serialize(com.google.gson.stream.JsonWriter writer,
ObjectType type,
Stack<MetadataType> typeStack)
TypeSerializerT MetadataType into a JsonWriter, a Stack is also passed to this method to track the
serialization process and handle recursive cases.serialize in interface TypeSerializer<ObjectType>serialize in class BaseTypeSerializer<ObjectType>writer - the JsonWriter to write the type into.type - the MetadataType to be serializedtypeStack - a Stack with the serialization chain state.protected void doSerialize(com.google.gson.stream.JsonWriter writer,
ObjectType type,
Stack<MetadataType> typeStack)
doSerialize in class BaseTypeSerializer<ObjectType>Copyright © 2022 MuleSoft, Inc.. All rights reserved.