public final class JsonObjectBindings extends java.lang.Object implements Bindings, java.lang.Iterable<EntryBindings>
Bindings based on the values in a JSONObject.| Constructor and Description |
|---|
JsonObjectBindings(org.json.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns whether these Bindings contain any values.
|
java.util.Iterator<EntryBindings> |
iterator() |
java.lang.Object |
resolve(java.lang.String key)
Returns a value for the given key or
null if no such key exists in these Bindings. |
public java.lang.Object resolve(@Nonnull
java.lang.String key)
Bindingsnull if no such key exists in these Bindings.public boolean isEmpty()
Bindingspublic java.util.Iterator<EntryBindings> iterator()
iterator in interface java.lang.Iterable<EntryBindings>