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:
  • Constructor Details

    • GroovyJSONObject

      public GroovyJSONObject()
    • GroovyJSONObject

      public GroovyJSONObject(Map<?,?> p_json)
  • Method Details

    • writeJSON

      public <T extends Appendable> T writeJSON(T p_appendable) throws IOException
      Specified by:
      writeJSON in interface de.uplanet.json.IJSONAppendableAware
      Throws:
      IOException
    • toJSON

      public String toJSON()
      Specified by:
      toJSON in interface de.uplanet.json.IJSONAware
    • toString

      public String toString()
      Get the JSON string representation of this object.
      Overrides:
      toString in class AbstractMap<Object,Object>
      Returns:
      The JSON string representation of this object.
      See Also: