public final class JsonNodeBuilders
extends java.lang.Object
JsonNodes.| Modifier and Type | Method and Description |
|---|---|
static JsonNodeBuilder<JsonNode> |
aFalseBuilder() |
static JsonArrayNodeBuilder |
anArrayBuilder()
Builder for a JSON array.
|
static JsonObjectNodeBuilder |
anObjectBuilder()
Builder for a JSON object that permits duplicated field names, and preserves field order.
|
static JsonNodeBuilder<JsonNode> |
aNullBuilder() |
static JsonNodeBuilder<JsonNode> |
aNumberBuilder(java.lang.String value)
Builder for a JSON number.
|
static JsonNodeBuilder<JsonStringNode> |
aStringBuilder(java.lang.String value)
Builder for a JSON string.
|
static JsonNodeBuilder<JsonNode> |
aTrueBuilder() |
static JsonObjectNodeBuilder |
aUniqueFieldNameObjectBuilder()
Builder for a JSON object that has unique field names.
|
public static JsonNodeBuilder<JsonNode> aNullBuilder()
public static JsonNodeBuilder<JsonNode> aTrueBuilder()
public static JsonNodeBuilder<JsonNode> aFalseBuilder()
public static JsonNodeBuilder<JsonNode> aNumberBuilder(java.lang.String value)
String specified does not conform to the JSON number specification.value - a String representing a JSON number.JsonNode representing the number given.java.lang.IllegalArgumentException - if the given String does not conform to the JSON number specification.public static JsonNodeBuilder<JsonStringNode> aStringBuilder(java.lang.String value)
value - a String to convert into a JSON string.JsonNode representing the string given.public static JsonObjectNodeBuilder anObjectBuilder()
JsonNode representing an object.public static JsonObjectNodeBuilder aUniqueFieldNameObjectBuilder()
JsonNode representing an object.public static JsonArrayNodeBuilder anArrayBuilder()
JsonNode representing an array.