public class Json extends Object
| Constructor and Description |
|---|
Json() |
Json(DateFormat dateFormat,
boolean pretty) |
| Modifier and Type | Method and Description |
|---|---|
String |
toJson(Object o) |
String |
toJson(Object o,
com.fasterxml.jackson.annotation.JsonInclude.Include include) |
<T> T |
toObject(String json,
Class<T> type,
com.fasterxml.jackson.databind.Module... modules) |
public Json(DateFormat dateFormat, boolean pretty)
public Json()
public String toJson(Object o, com.fasterxml.jackson.annotation.JsonInclude.Include include) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
com.fasterxml.jackson.core.JsonProcessingExceptionIOExceptionpublic String toJson(Object o) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
com.fasterxml.jackson.core.JsonProcessingExceptionIOExceptionpublic <T> T toObject(String json, Class<T> type, com.fasterxml.jackson.databind.Module... modules) throws IOException
IOExceptionCopyright © 2011–2020 aiticon GmbH. All rights reserved.