Allow the user to get the number of elements in this object
Operator overload for foreach iteration through the array with values only and allow modification of the reference
Operator overload for foreach iteration through the array with key and value and allow modification of the reference
Operator overload to allow addition of children
Operator overload to allow access of children
This function parses a JSONArray out of a string
A method to convert this JSONArray to a formatted, user-readable format.
A method to convert this JSONArray to a user-readable format.
The parse method of this interface should ALWAYS be destructive, removing things from the front of source as it parses.
Convenience function for casting to JSONObject
Convenience function for casting to JSONArray
Convenience function for casting to JSONString
Convenience function for casting to JSONBoolean
Convenience function for casting to JSONNumber
Convenience function for casting to JSONNull
Associative array index function for objects describing associative array-like attributes.
Allow foreach over the object with string key and ref value.
Array index function for objects describing array-like attributes.
Allow foreach over the object with integer key and ref value.
Convenience function for iteration that apply to both AA and array type operations with ref value
Allow "in" operator to work as expected for object types without an explicit cast
JSONArray represents a single JSON array, capable of being heterogenous