File

teal-src/util/json.d.tl @ 13559:eedae7d47784 0.12

MUC: optimizations for broadcast of visitor presence (thanks Jitsi team) This avoids doing performing unnecessary work in the case of visitors joining a MUC, no functionality changes are intended.
author Matthew Wild <mwild1@gmail.com>
date Fri, 15 Nov 2024 14:36:41 +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