public class MetadataDescriptorResultJsonSerializer extends AbstractMetadataResultJsonSerializer
MetadataResult of a ComponentMetadataDescriptor type into
a readable and processable JSON representation and from a JSON String to an MetadataResult instancegson| Constructor and Description |
|---|
MetadataDescriptorResultJsonSerializer() |
MetadataDescriptorResultJsonSerializer(boolean prettyPrint) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.metadata.resolving.ImmutableMetadataResult<org.mule.runtime.api.metadata.descriptor.ImmutableComponentMetadataDescriptor> |
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 MetadataDescriptorResultJsonSerializer()
public MetadataDescriptorResultJsonSerializer(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<org.mule.runtime.api.metadata.descriptor.ImmutableComponentMetadataDescriptor> 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.