public class MetadataKeysResultJsonSerializer extends AbstractMetadataResultJsonSerializer
MetadataResult of a List of MetadataKey type into
a readable and processable JSON representation and from a JSON String to an MetadataResult instancegson| Constructor and Description |
|---|
MetadataKeysResultJsonSerializer() |
MetadataKeysResultJsonSerializer(boolean prettyPrint) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.metadata.resolving.ImmutableMetadataResult<Set<org.mule.runtime.api.metadata.DefaultMetadataKey>> |
deserialize(String metadataResult)
Deserializes a JSON representation of an
MetadataResult, to an actual instance of it. |
String |
serialize(org.mule.runtime.api.metadata.resolving.MetadataResult metadataResult) |
public MetadataKeysResultJsonSerializer()
public MetadataKeysResultJsonSerializer(boolean prettyPrint)
public String serialize(org.mule.runtime.api.metadata.resolving.MetadataResult metadataResult)
serialize in class AbstractMetadataResultJsonSerializermetadataResult - the MetadataResult to be serializedString JSON representation of the MetadataResultpublic org.mule.runtime.api.metadata.resolving.ImmutableMetadataResult<Set<org.mule.runtime.api.metadata.DefaultMetadataKey>> deserialize(String metadataResult)
MetadataResult, to an actual instance of it.deserialize in class AbstractMetadataResultJsonSerializermetadataResult - the serialized MetadataResult in a String JSON representationMetadataResult based on the serialized JSONCopyright © 2016 MuleSoft, Inc.. All rights reserved.