public final class ReducedMetadataTypeGsonTypeAdapter extends BaseMetadataTypeGsonTypeAdapter
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.
To use it, register it into Gson use the GsonBuilder and invoking
GsonBuilder.registerTypeAdapter(Type type, Object typeAdapter), with MetadataType class as the
type parameter and an instance of MetadataTypeGsonTypeAdapter for the typeAdapter parameter.
| Constructor and Description |
|---|
ReducedMetadataTypeGsonTypeAdapter() |
read, writeCopyright © 2020 MuleSoft, Inc.. All rights reserved.