The empty method checks whether the JSON array is empty.
empty()
(Boolean). Returns true if the array is empty.
local myJsonArray = LuaJsonArray:new(4,"a string",true)
print ("Is the array empty? " , myJsonArray:empty() )
-- Is the array empty? false
myJsonArray:clear()
print ("Is the array empty? " , myJsonArray:empty() )
-- Is the array empty? true
_FT_HTML5_bannerTitle.htm