public class ReducedJsonMetadataTypeLoader extends Object implements SerializedMetadataTypeLoader
SerializedMetadataTypeLoader that creates instances of MetadataType from JSON representations generated by
ReducedJsonMetadataTypeWriter.
Instances of this class are not thread safe, so only one deserialization at a time can be made with each instance.
| Constructor and Description |
|---|
ReducedJsonMetadataTypeLoader() |
| Modifier and Type | Method and Description |
|---|---|
Optional<MetadataType> |
load(com.google.gson.JsonElement jsonElement)
Parses a
MetadataType JSON representation and returns a new MetadataType instance. |
Optional<MetadataType> |
load(String serialized) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadpublic Optional<MetadataType> load(String serialized)
load in interface TypeLoaderpublic Optional<MetadataType> load(com.google.gson.JsonElement jsonElement)
SerializedMetadataTypeLoaderMetadataType JSON representation and returns a new MetadataType instance.load in interface SerializedMetadataTypeLoaderjsonElement - MetadataType JSON representation as a JsonElementOptional value of a MetadataTypeCopyright © 2025 MuleSoft, Inc.. All rights reserved.