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