public interface JsonObjectBuilder
JsonObject instances.| Modifier and Type | Method and Description |
|---|---|
JsonObject |
build()
Returns a built
JsonObject. |
JsonObjectBuilder |
setValue(String name,
Object value)
Sets an attribute value on the building object.
|
JsonObjectBuilder setValue(String name, Object value)
name - the name of the attribute. Cannot be null.value - the value to add; must be an instance of a type defined by JsonValueTypeJsonObject build()
JsonObject.
You may continue to use the builder after this is called, but any previously added values are cleared out.
JsonObjectCopyright © Veeva Systems 2017–2019. All rights reserved.