The empty
method determines whether the JSON object is empty.
empty()
(Boolean). Returns true
if the object has no attributes (name/value pairs).
local myJsonObject = LuaJsonObject:new() print(myJsonObject:empty()) -- true_FT_HTML5_bannerTitle.htm