1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-12 10:49:02 +00:00

Enable NSEDoc for json.generate; this should be a public function.

This commit is contained in:
david
2011-04-02 16:28:14 +00:00
parent 650ede916a
commit 4d1b301f43

View File

@@ -76,7 +76,7 @@ local function escape(str)
return "\"" .. string.gsub(str, ".", ESCAPE_TABLE) .. "\"" return "\"" .. string.gsub(str, ".", ESCAPE_TABLE) .. "\""
end end
-- Creates json data from an object --- Creates json data from an object
--@param object a table containing data --@param object a table containing data
--@return a string containing valid json --@return a string containing valid json
function generate(obj) function generate(obj)