public static class ImmutableJSONObject.Builder extends java.lang.Object implements JSONObjectBuilder<ImmutableJSONObject>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableJSONObject |
build()
Compile the values supplied to
JSONObjectBuilder.putOnce(String, Object) into a JSONObject
representation. |
ImmutableJSONObject.Builder |
putOnce(java.lang.String key,
java.lang.Object value) |
public ImmutableJSONObject build()
JSONObjectBuilderJSONObjectBuilder.putOnce(String, Object) into a JSONObject
representation.build in interface JSONObjectBuilder<ImmutableJSONObject>public ImmutableJSONObject.Builder putOnce(java.lang.String key, java.lang.Object value) throws JSONException
putOnce in interface JSONObjectBuilder<ImmutableJSONObject>JSONException