public class Serializer extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPRESSED |
static com.fasterxml.jackson.core.type.TypeReference<Map<String,Object>> |
MAP_TYPE_REFERENCE |
| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
<T> String |
compress(String modelInput) |
<T> T |
convert(Object obj,
com.fasterxml.jackson.core.type.TypeReference<T> reference) |
String |
decompress(String s) |
<T> T |
deserialize(String s,
com.fasterxml.jackson.core.type.TypeReference<T> reference) |
<T> T |
deserializeStrict(String s,
com.fasterxml.jackson.core.type.TypeReference<T> reference) |
<T> String |
serialize(T modelObject) |
public static final com.fasterxml.jackson.core.type.TypeReference<Map<String,Object>> MAP_TYPE_REFERENCE
public static final String COMPRESSED
public <T> String serialize(T modelObject) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic <T> String compress(String modelInput) throws IOException
IOExceptionpublic <T> T deserialize(String s, com.fasterxml.jackson.core.type.TypeReference<T> reference) throws IOException
IOExceptionpublic String decompress(String s) throws IOException
IOExceptionpublic <T> T deserializeStrict(String s, com.fasterxml.jackson.core.type.TypeReference<T> reference) throws IOException
IOExceptionpublic <T> T convert(Object obj, com.fasterxml.jackson.core.type.TypeReference<T> reference)
Copyright © 2019 Amazon Web Services, Inc. All Rights Reserved.