Package redempt.redlib.json
Class JSONMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
Object>
Represents a map which can be serialized to JSON and deserialized back to this form,
assuming all of the values it stores are serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Constructor Details
-
JSONMap
public JSONMap()
-
-
Method Details
-
getInt
-
getBoolean
-
getDouble
-
getLong
-
getList
-
getMap
-
getString
-
toString
- Overrides:
toString
in classAbstractMap<String,
Object> - Returns:
- A JSON string representing this JSONMap
-