File

teal-src/util/json.d.tl @ 12358:d77d8fba44ad

util.bit53: Add left- and right shift operations While not used by anything in Prosody, it is known to be used by some 3rd party modules.
author Kim Alvefur <zash@zash.se>
date Mon, 28 Jun 2021 03:56:45 +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