The string
method returns the JSON object as a string.
string()
(String). The JSON object as a string.
local myJsonObject = LuaJsonObject:new( { product="IDOL" , version=11 } ) print (myJsonObject:string()) -- {"product":"IDOL","version":11}_FT_HTML5_bannerTitle.htm