Another boring constructor...
...and its slightly less boring sibling.
Allow the number to be retreived.
This function parses a JSONNumber out of a string and eats characters as it goes, hence the ref string parameter.
Allow setting of the hidden number.
A method to convert this JSONNumber to a formatted, user-readable format.
A method to convert this JSONNumber 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
JSONNumber represents any JSON numeric value.