File

teal-src/util/json.d.tl @ 13580:836efad8483c 0.12 0.12.5

util.prosodyctl.check: Improve error handling of UDP socket setup (for #1803) Not necessarily a fix, but may give us more information about failure cases.
author Matthew Wild <mwild1@gmail.com>
date Fri, 20 Dec 2024 14:21:02 +0000
parent 11460:a8b4e04bc044
line wrap: on
line source

local record lib
	encode : function (any) : string
	decode : function (string) : any, string

	enum json_type_name
		"null"
		"boolean"
		"object"
		"array"
		"number"
		"string"
		"integer"
	end

	type null_type = (nil)
	null : null_type
end
return lib