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.JsonProcessingException
IOException
public String toJson(Object o) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
com.fasterxml.jackson.core.JsonProcessingException
IOException
public <T> T toObject(String json, Class<T> type, com.fasterxml.jackson.databind.Module... modules) throws IOException
IOException
Copyright © 2011–2020 aiticon GmbH. All rights reserved.