Class Serializer
java.lang.Object
software.amazon.cloudformation.resource.Serializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> String<T> Tdecompress(String s) <T> Tdeserialize(String s, com.fasterxml.jackson.core.type.TypeReference<T> reference) <T> TdeserializeStrict(String s, com.fasterxml.jackson.core.type.TypeReference<T> reference) <T> Stringserialize(T modelObject)
-
Field Details
-
MAP_TYPE_REFERENCE
-
COMPRESSED
- See Also:
-
-
Constructor Details
-
Serializer
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public <T> String serialize(T modelObject) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
compress
- Throws:
IOException
-
deserialize
public <T> T deserialize(String s, com.fasterxml.jackson.core.type.TypeReference<T> reference) throws IOException - Throws:
IOException
-
decompress
- Throws:
IOException
-
deserializeStrict
public <T> T deserializeStrict(String s, com.fasterxml.jackson.core.type.TypeReference<T> reference) throws IOException - Throws:
IOException
-
convert
-