public class Codec extends Object
| Constructor and Description |
|---|
Codec() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
decode(String json,
String className) |
Object[] |
decodeArrayContents(String json) |
String |
encode(Object obj) |
public <T> T decode(String json, String className) throws ClassNotFoundException, IOException
ClassNotFoundExceptionIOExceptionpublic String encode(Object obj) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic Object[] decodeArrayContents(String json) throws IOException
IOExceptionCopyright © 2020. All rights reserved.