File

teal-src/util/json.d.tl @ 13217:b264ea91e930 0.12

util.prosodyctl.check: Validate format of module list options Should detect things like misplaced settings inside modules_enabled
author Kim Alvefur <zash@zash.se>
date Mon, 17 Jul 2023 14:45:15 +0200
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