mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Enable NSEDoc for json.generate; this should be a public function.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user