From 4d1b301f43f4deacb71b3cf7b3e897e59d745d7f Mon Sep 17 00:00:00 2001 From: david Date: Sat, 2 Apr 2011 16:28:14 +0000 Subject: [PATCH] Enable NSEDoc for json.generate; this should be a public function. --- nselib/json.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/json.lua b/nselib/json.lua index 499f1ae19..143b89f88 100644 --- a/nselib/json.lua +++ b/nselib/json.lua @@ -76,7 +76,7 @@ local function escape(str) return "\"" .. string.gsub(str, ".", ESCAPE_TABLE) .. "\"" end --- Creates json data from an object +--- Creates json data from an object --@param object a table containing data --@return a string containing valid json function generate(obj)