File

teal-src/util/json.d.tl @ 12067:97c377de8083

mod_smacks: Fix to not wait for acks from before a resumption Otherwise it can get stuck waiting indefinitely for an ack that made it notice the connection was stale.
author Kim Alvefur <zash@zash.se>
date Fri, 17 Dec 2021 17:20:26 +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