Example usage for Java javax.json JsonArrayBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
JsonArrayBuilder | add(JsonValue value) Adds a value to the array. |
JsonArrayBuilder | add(String value) Adds a value to the array as a JsonString . |
JsonArrayBuilder | add(BigDecimal value) Adds a value to the array as a JsonNumber . |
JsonArrayBuilder | add(BigInteger value) Adds a value to the array as a JsonNumber . |
JsonArrayBuilder | add(int value) Adds a value to the array as a JsonNumber . |
JsonArrayBuilder | add(long value) Adds a value to the array as a JsonNumber . |
JsonArrayBuilder | add(double value) Adds a value to the array as a JsonNumber . |
JsonArrayBuilder | add(boolean value) Adds a JsonValue#TRUE or JsonValue#FALSE value to the array. |
JsonArrayBuilder | add(JsonObjectBuilder builder) Adds a JsonObject from an object builder to the array. |
JsonArrayBuilder | add(JsonArrayBuilder builder) Adds a JsonArray from an array builder to the array. |
JsonArrayBuilder | addNull() Adds a JsonValue#NULL value to the array. |
JsonArray | build() Returns the current array. |