Class JSON.JSONObject

java.lang.Object
net.diversionmc.parser.util.Pointable
net.diversionmc.parser.pattern.Sentence
net.diversionmc.json.JSON.JSONValue
net.diversionmc.json.JSON.JSONObject
Enclosing class:
JSON

public static final class JSON.JSONObject extends JSON.JSONValue
Parsed JSON object that stores key-JSON.JSONValue pairs.
  • Constructor Details

    • JSONObject

      public JSONObject(net.diversionmc.parser.util.FilePointer ptr, Map<String,​JSON.JSONValue> values)
      Construct a JSON Object {"key":value,...}
      Parameters:
      ptr - Creation position.
      values - Values to store.
  • Method Details