Class brl.json.JsonArray - leonard-thieu/monkey GitHub Wiki
JsonValue
Get : JsonValue ( index:Int )
GetBool : Bool ( index:Int )
GetData : JsonValue[] ()
GetFloat : Float ( index:Int )
GetInt : Int ( index:Int )
GetString : String ( index:Int )
PushJson : Void ( buf:StringStack )
Set : Void ( index:Int, value:JsonValue )
SetBool : Void ( index:Int, value:Bool )
SetFloat : Void ( index:Int, value:Float )
SetInt : Void ( index:Int, value:Int )
SetString : Void ( index:Int, value:String )
Method New ( length:Int )
Creates a new array of the given length.
Method New ( data:JsonValue )
Creates a new array with the given data.
Method Length : Int ()
Returns length of the array.
Throws a JsonError if index is out of bounds.
Returns a JsonNull object if element at index is null.
Throws a JsonError if index is out of bounds or value at index is not a JsonBool.
Gets internal array used to contain values.
Throws a JsonError if index is out of bounds or value at index is not a JsonNumber.
Throws a JsonError if index is out of bounds or value at index is not a JsonNumber.
Throws a JsonError if index is out of bounds or value at index is not a JsonString.
Method PushJson : Void ( buf:StringStack )
Throws a JsonError if index is out of bounds.
Throws a JsonError if index is out of bounds.
Throws a JsonError if index is out of bounds.
Throws a JsonError if index is out of bounds.
Throws a JsonError if index is out of bounds.