The constructor for a LuaJsonArray object (creates a new LuaJsonArray).
LuaJsonArray:new( values )
| Argument | Description | 
|---|---|
| values | (lua_json_type) The values to add to the array. Each value can be a Boolean, float, integer, string, LuaJsonArray, LuaJsonObject, LuaJsonValue, or nil. | 
(LuaJsonArray). The new LuaJsonArray object.
The following is a simple JSON array:
[4, "a string", true]
To create a LuaJsonArray object to represent this array:
local myJsonArray = LuaJsonArray:new(4,"a string",true)
|  |