Package | Description |
---|---|
com.oracle.json | |
com.oracle.json.spi |
Modifier and Type | Method and Description |
---|---|
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
boolean value)
Adds a name/
JsonValue#TRUE or name/JsonValue#FALSE pair
to the JSON object associated with this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
double value)
Adds a name/
JsonNumber pair to the JSON object associated with
this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
int value)
Adds a name/
JsonNumber pair to the JSON object associated with
this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
JsonArrayBuilder builder)
Adds a name/
JsonArray pair to the JSON object associated with
this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
JsonObjectBuilder builder)
Adds a name/
JsonObject pair to the JSON object associated
with this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
JsonValue value)
Adds a name/
JsonValue pair to the JSON object associated with
this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
long value)
Adds a name/
JsonNumber pair to the JSON object associated with
this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
java.lang.String value)
Adds a name/
JsonString pair to the JSON object associated with
this object builder. |
JsonObjectBuilder |
JsonObjectBuilder.addNull(java.lang.String name)
Adds a name/
JsonValue#NULL pair to the JSON object associated
with this object builder where the value is null . |
static JsonObjectBuilder |
Json.createObjectBuilder()
Creates a JSON object builder
|
JsonObjectBuilder |
JsonBuilderFactory.createObjectBuilder()
Creates a
JsonObjectBuilder instance that is used to build
JsonObject . |
Modifier and Type | Method and Description |
---|---|
JsonArrayBuilder |
JsonArrayBuilder.add(JsonObjectBuilder builder)
Adds a
JsonObject from an object builder to the array. |
JsonObjectBuilder |
JsonObjectBuilder.add(java.lang.String name,
JsonObjectBuilder builder)
Adds a name/
JsonObject pair to the JSON object associated
with this object builder. |
Modifier and Type | Method and Description |
---|---|
abstract JsonObjectBuilder |
JsonProvider.createObjectBuilder()
Creates a JSON object builder
|
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.