public enum JsonUtils extends Enum<JsonUtils>
| Modifier and Type | Class and Description |
|---|---|
static class |
JsonUtils.ArrayNodeBuilder |
static interface |
JsonUtils.Builder<T extends org.codehaus.jackson.JsonNode> |
static class |
JsonUtils.ObjectNodeBuilder |
| Modifier and Type | Method and Description |
|---|---|
static JsonUtils.ArrayNodeBuilder |
array() |
static org.codehaus.jackson.node.NumericNode |
numeric(Number v) |
static JsonUtils.ObjectNodeBuilder |
object() |
static Predicate<Preprocessor.Path> |
pathMatcher(String... args) |
static Preprocessor |
preprocessor(Function<org.codehaus.jackson.JsonNode,org.codehaus.jackson.JsonNode> translator,
Predicate<Preprocessor.Path> pathMatcher) |
static org.codehaus.jackson.node.TextNode |
text(String text) |
static org.codehaus.jackson.JsonNode |
toJsonNode(Object value) |
static JsonUtils |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonUtils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static JsonUtils[] values()
for (JsonUtils c : JsonUtils.values()) System.out.println(c);
public static JsonUtils valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static JsonUtils.ObjectNodeBuilder object()
public static JsonUtils.ArrayNodeBuilder array()
public static org.codehaus.jackson.node.NumericNode numeric(Number v)
public static org.codehaus.jackson.node.TextNode text(String text)
public static org.codehaus.jackson.JsonNode toJsonNode(Object value)
public static Preprocessor preprocessor(Function<org.codehaus.jackson.JsonNode,org.codehaus.jackson.JsonNode> translator, Predicate<Preprocessor.Path> pathMatcher)
public static Predicate<Preprocessor.Path> pathMatcher(String... args)
Copyright © 2017. All rights reserved.