public class JsonUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.core.JsonFactory |
factory() |
static boolean |
getBool(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static int |
getInt(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static java.lang.Integer |
getIntOrNull(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static long |
getLong(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static java.lang.String |
getString(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static java.util.List<java.lang.String> |
getStringList(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static java.util.Map<java.lang.String,java.lang.String> |
getStringMap(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static java.lang.String |
getStringOrNull(java.lang.String property,
com.fasterxml.jackson.databind.JsonNode node) |
static com.fasterxml.jackson.databind.ObjectMapper |
mapper() |
public static com.fasterxml.jackson.core.JsonFactory factory()
public static com.fasterxml.jackson.databind.ObjectMapper mapper()
public static int getInt(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)
public static java.lang.Integer getIntOrNull(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)
public static long getLong(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)
public static boolean getBool(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)
public static java.lang.String getString(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)
public static java.lang.String getStringOrNull(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)
public static java.util.Map<java.lang.String,java.lang.String> getStringMap(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)
public static java.util.List<java.lang.String> getStringList(java.lang.String property, com.fasterxml.jackson.databind.JsonNode node)