public abstract class JsonObjectNodeBuilder extends java.lang.Object implements JsonNodeBuilder<JsonNode>
JsonNode
s representing JSON objects.Modifier and Type | Method and Description |
---|---|
JsonObjectNodeBuilder |
withField(JsonStringNode name,
JsonNodeBuilder<?> value)
Adds a field to the object that will be built.
|
JsonObjectNodeBuilder |
withField(java.lang.String name,
JsonNodeBuilder<?> value)
Adds a field to the object that will be built.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
public final JsonObjectNodeBuilder withField(java.lang.String name, JsonNodeBuilder<?> value)
name
- the name of the fieldvalue
- a builder for the value of the field.public final JsonObjectNodeBuilder withField(JsonStringNode name, JsonNodeBuilder<?> value)
name
- the name of the fieldvalue
- a builder for the value of the field.