public interface TypeSerializer<T extends MetadataType>
MetadataType serializers implementations that writes into a JsonWriter.| Modifier and Type | Method and Description |
|---|---|
void |
serialize(com.google.gson.stream.JsonWriter writer,
T 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. |
void serialize(com.google.gson.stream.JsonWriter writer,
T type,
Stack<MetadataType> typeStack)
T MetadataType into a JsonWriter, a Stack is also passed to this method to track the
serialization process and handle recursive cases.writer - the JsonWriter to write the type into.type - the MetadataType to be serializedtypeStack - a Stack with the serialization chain state.Copyright © 2024 MuleSoft, Inc.. All rights reserved.