File

teal-src/util/json.d.tl @ 12009:f6fff0658108

mod_cron: Expose the One Timer via module environment This makes it easier to reschedule or otherwise manipulate the timer from e.g. the shell, which is handy for debugging.
author Kim Alvefur <zash@zash.se>
date Sat, 04 Dec 2021 17:46:37 +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