Class GroovyJSONObject
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<Object,Object>
-
- de.uplanet.lucy.server.scripting.groovy.json.GroovyJSONObject
-
- All Implemented Interfaces:
de.uplanet.json.IJSONAppendableAware
,de.uplanet.json.IJSONAware
,Serializable
,Cloneable
,Map<Object,Object>
public final class GroovyJSONObject extends LinkedHashMap<Object,Object> implements de.uplanet.json.IJSONAware, de.uplanet.json.IJSONAppendableAware
- Since:
- Intrexx 7.0.
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description GroovyJSONObject()
GroovyJSONObject(Map<?,?> p_json)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toJSON()
String
toString()
Get the JSON string representation of this object.<T extends Appendable>
TwriteJSON(T p_appendable)
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Constructor Detail
-
GroovyJSONObject
public GroovyJSONObject()
-
GroovyJSONObject
public GroovyJSONObject(Map<?,?> p_json)
-
-
Method Detail
-
writeJSON
public <T extends Appendable> T writeJSON(T p_appendable) throws IOException
- Specified by:
writeJSON
in interfacede.uplanet.json.IJSONAppendableAware
- Throws:
IOException
-
toJSON
public String toJSON()
- Specified by:
toJSON
in interfacede.uplanet.json.IJSONAware
-
-