public class DTOUtil extends Object
| Constructor and Description |
|---|
DTOUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
fromJSONToObject(String json,
Class<T> clazz) |
static String |
toJSON(Object obj) |
static <T> T |
toObject(String xml,
Class<T> clazz) |
static <T> String |
toXML(T obj) |
public static <T> String toXML(T obj)
public static <T> T toObject(String xml, Class<T> clazz) throws JAXBException
JAXBExceptionCopyright © 2018 Zanata Project. All rights reserved.