ipairs

The ipairs method returns a function that you can use with a for loop to iterate over all of the values in the array.

Syntax

ipairs()

Example

local myJsonArray = LuaJsonArray:new(4,"a string",true)

for i, v in myJsonArray:ipairs() do
  print (v:string())
end

-- prints the following...
-- 4
-- a string
-- true

_HP_HTML5_bannerTitle.htm