File

teal-src/util/json.d.tl @ 12232:4f5f34a7f85a

doap: Let's say XEP-0368 support is complete now We break the SHOULD about the merged _xmpp and _xmpps SRV handling, but we follow all the MUSTs
author Kim Alvefur <zash@zash.se>
date Mon, 31 Jan 2022 17:07:12 +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