T - TypeAnnotation implementationpublic final class TypeAnnotationSerializer<T extends TypeAnnotation> extends Object
TypeAnnotation.| Constructor and Description |
|---|
TypeAnnotationSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Optional<T> |
deserialize(String typeAnnotationName,
String json)
Deserializes a
TypeAnnotation implementation. |
public Optional<T> deserialize(String typeAnnotationName, String json)
TypeAnnotation implementation.typeAnnotationName - name of the TypeAnnotation that match with TypeAnnotation.getName() or
their full qualifier class namejson - String representation of the serialized TypeAnnotationOptional with the deserialized TypeAnnotation in case that the deserialization
could not be done, Optional.empty() will be returnedCopyright © 2016 MuleSoft, Inc.. All rights reserved.