public interface JSONObjectBuilder<O extends JSONObject>
| Modifier and Type | Method and Description |
|---|---|
O |
build()
Compile the values supplied to
putOnce(String, Object) into a JSONObject
representation. |
JSONObjectBuilder<O> |
putOnce(java.lang.String key,
java.lang.Object value) |
JSONObjectBuilder<O> putOnce(java.lang.String key, java.lang.Object value) throws JSONException
JSONExceptionO build()
putOnce(String, Object) into a JSONObject
representation.