public class Jsons extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
fromJson(Class<?> elementClass,
String value) |
static <T> T |
fromJson(Class<? extends Collection> collectionClass,
Class<?> elementClass,
String value) |
static String |
toJson(Object value) |
public static String toJson(Object value) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionpublic static <T> T fromJson(Class<? extends Collection> collectionClass, Class<?> elementClass, String value) throws IOException
IOExceptionpublic static <T> T fromJson(Class<?> elementClass, String value) throws IOException
IOExceptionCopyright © 2019 Damsete Tecnologia LTDA. All rights reserved.