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