public final class JsonUtils
extends Object
-
Constructor Summary
Constructors
-
Method Summary
static com.fasterxml.jackson.databind.JsonNode
static <T> T
readValue(Class<T> valueClass,
com.fasterxml.jackson.core.TreeNode treeNode)
static <T> T
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JsonUtils
public JsonUtils()
-
Method Details
-
readTree
public static com.fasterxml.jackson.databind.JsonNode readTree(String json)
-
readValue
public static <T> T readValue(Class<T> valueClass,
com.fasterxml.jackson.core.TreeNode treeNode)
-
readValue
public static <T> T readValue(Class<T> valueClass,
String json)
-
writeValue
public static <T> String writeValue(T value)