public class JacksonUtil extends Object
Constructor and Description |
---|
JacksonUtil() |
Modifier and Type | Method and Description |
---|---|
static Long |
getAsLong(com.fasterxml.jackson.databind.JsonNode pNode,
String pName)
Extract a Long value from a JSON object node.
|
static String |
getAsString(com.fasterxml.jackson.databind.JsonNode pNode,
String pName)
Extract a string value from a JSON object node.
|
static UUID |
getAsUUID(com.fasterxml.jackson.databind.JsonNode pNode,
String pName)
Extract a UUID value from a JSON object node.
|
public static String getAsString(com.fasterxml.jackson.databind.JsonNode pNode, String pName)
pNode
- The JSON Object node to extract a value frompName
- The name of the element node to extractpublic static UUID getAsUUID(com.fasterxml.jackson.databind.JsonNode pNode, String pName)
pNode
- The JSON Object node to extract a value frompName
- The name of the element node to extractpublic static Long getAsLong(com.fasterxml.jackson.databind.JsonNode pNode, String pName)
pNode
- The JSON Object node to extract a value frompName
- The name of the element node to extract© 1998- 2021 Escenic AS