public abstract class AbstractMetadataResultJsonSerializer extends Object
MetadataResult of some payload type into
a readable and processable JSON representation and from a JSON String to an MetadataResult instance| Modifier and Type | Field and Description |
|---|---|
protected com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
AbstractMetadataResultJsonSerializer(boolean prettyPrint) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.mule.runtime.api.metadata.resolving.MetadataResult |
deserialize(String result)
Deserializes a JSON representation of an
MetadataResult, to an actual instance of it. |
abstract String |
serialize(org.mule.runtime.api.metadata.resolving.MetadataResult result) |
public AbstractMetadataResultJsonSerializer(boolean prettyPrint)
public abstract String serialize(org.mule.runtime.api.metadata.resolving.MetadataResult result)
result - the MetadataResult to be serializedString JSON representation of the MetadataResultpublic abstract org.mule.runtime.api.metadata.resolving.MetadataResult deserialize(String result)
MetadataResult, to an actual instance of it.result - the serialized MetadataResult in a String JSON representationMetadataResult based on the serialized JSONCopyright © 2016 MuleSoft, Inc.. All rights reserved.