public class JSONMap extends AbstractMap implements Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
JSONMap() |
JSONMap(JSONObject object) |
JSONMap(String jsonString) |
Modifier and Type | Method and Description |
---|---|
Set |
entrySet() |
String |
getString() |
String |
getString(int indentFactor) |
Object |
put(Object key,
Object value) |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
public JSONMap() throws JSONException
JSONException
public JSONMap(JSONObject object)
public JSONMap(String jsonString) throws JSONException
JSONException
public Set entrySet()
entrySet
in interface Map
entrySet
in class AbstractMap
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
public String getString() throws JSONException
JSONException
public String getString(int indentFactor) throws JSONException
JSONException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.