| Package | Description |
|---|---|
| javax.json |
Java API for JSON Processing API provides a way to process
(for e.g.
|
| Modifier and Type | Method and Description |
|---|---|
JsonArrayBuilder |
JsonArrayBuilder.add(BigDecimal value)
Adds the specified value as a JSON number value to the array
that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(BigInteger value)
Adds the specified value as a JSON number value to the array
that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(boolean value)
Adds a JSON true or false value to the array that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(double value)
Adds the specified value as a JSON number value to the array
that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(int value)
Adds the specified value as a JSON number value to the array
that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(JsonArrayBuilder builder)
Adds a JsonArray from the specified builder to the array that
is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(JsonObjectBuilder builder)
Adds a JsonObject from the specified builder to the array that
is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(JsonValue value)
Adds the specified value to the array that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(long value)
Adds the specified value as a JSON number value to the array
that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.add(String value)
Adds the specified value as a JSON string value to the array
that is being built.
|
JsonArrayBuilder |
JsonArrayBuilder.addNull()
Adds a JSON null value to the array that is being built.
|
| Modifier and Type | Method and Description |
|---|---|
JsonArrayBuilder |
JsonArrayBuilder.add(JsonArrayBuilder builder)
Adds a JsonArray from the specified builder to the array that
is being built.
|
JsonObjectBuilder |
JsonObjectBuilder.add(String name,
JsonArrayBuilder builder)
Associates the JSON array from the specified builder with the
specified name in the JSON object that is being built.
|
Copyright © 2013. All Rights Reserved.