public final class JacksonUtils extends Object
A small set of utility methods over Jackson.
| Modifier | Constructor and Description |
|---|---|
private |
JacksonUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Set<String> |
fieldNames(JsonNode node)
Return a set of field names in an object instance
|
static boolean |
nodeIsURI(JsonNode node)
Tell whether the target node is a valid URI
|
static Map<String,JsonNode> |
nodeToMap(JsonNode node)
Return a map out of an object instance
|
public static Map<String,JsonNode> nodeToMap(JsonNode node)
node - the nodepublic static Set<String> fieldNames(JsonNode node)
node - the nodepublic static boolean nodeIsURI(JsonNode node)
node - the node to testCopyright © 2012. All Rights Reserved.