File

teal-src/util/json.d.tl @ 12159:aa299551f8c6

util.prosodyctl.check: Parameterize replacement instructions This ought to make it easier to translate in the future. And easier to reword, now!
author Kim Alvefur <zash@zash.se>
date Sat, 08 Jan 2022 18:02:32 +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