Uses of Class
at.syntaxerror.json5.JSONObject
-
-
Uses of JSONObject in at.syntaxerror.json5
Methods in at.syntaxerror.json5 that return JSONObject Modifier and Type Method Description JSONObjectJSONArray. getObject(int index)Returns the value as a JSONObject for a given indexJSONObjectJSONArray. getObject(int index, JSONObject defaults)Returns the exact value as a JSONObject for a given index, or the default value if the operation is not possibleJSONObjectJSONObject. getObject(String key)Returns the value as a JSONObject for a given keyJSONObjectJSONObject. getObject(String key, JSONObject defaults)Returns the exact value as a JSONObject for a given key, or the default value if the operation is not possibleMethods in at.syntaxerror.json5 with parameters of type JSONObject Modifier and Type Method Description voidJSONArray. add(JSONObject value)Adds a value to the JSONArrayJSONObjectJSONArray. getObject(int index, JSONObject defaults)Returns the exact value as a JSONObject for a given index, or the default value if the operation is not possibleJSONObjectJSONObject. getObject(String key, JSONObject defaults)Returns the exact value as a JSONObject for a given key, or the default value if the operation is not possiblevoidJSONArray. set(int index, JSONObject value)Sets the value at a given indexvoidJSONObject. set(String key, JSONObject value)Sets the value at a given keystatic StringJSONStringify. toString(JSONObject object, int indentFactor)Converts a JSONObject into its string representation.
-