File

teal-src/util/json.d.tl @ 12026:f3b09b8445b3

MUC: Return a friendly textual error when trying to speak without voice I spend several minutes confused over where the bug was until I remembered I had set myself as visitor in the previous debug session. This would have helped.
author Kim Alvefur <zash@zash.se>
date Wed, 08 Dec 2021 16:40:51 +0100
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