public interface ElementDeclarationJsonSerializer
ElementDeclaration into a readable and processable JSON representation and from a JSON
String to an ElementDeclaration instance| Modifier and Type | Method and Description |
|---|---|
<T extends ElementDeclaration> |
deserialize(String declaration,
Class<T> clazz)
Deserializes a JSON representation of an
ElementDeclaration, to an actual instance of it. |
static ElementDeclarationJsonSerializer |
getDefault(boolean prettyPrint)
Creates a new instance of the
ElementDeclarationJsonSerializer. |
String |
serialize(ElementDeclaration declaration)
Serializes an
ElementDeclaration into JSON |
static ElementDeclarationJsonSerializer getDefault(boolean prettyPrint)
ElementDeclarationJsonSerializer. This serializer is capable of serializing and
deserializing ElementDeclarations from JSON (deserialize(String, Class) and to JSON (
serialize(ElementDeclaration)String serialize(ElementDeclaration declaration)
ElementDeclaration into JSONdeclaration - ElementDeclaration to be serializedString JSON representation of the ElementDeclaration<T extends ElementDeclaration> T deserialize(String declaration, Class<T> clazz)
ElementDeclaration, to an actual instance of it.declaration - serialized ElementDeclarationElementDeclaration based in the JSONCopyright © 2025 MuleSoft, Inc.. All rights reserved.