File

teal-src/util/json.d.tl @ 11834:f54d9abc4e14

mod_csi_simple: Provide custom set of timing buckets The default of 0.001..100.0 did not feel suitable here. This might be better. Longer is better and hold times less than a few seconds is generally undesirable.
author Kim Alvefur <zash@zash.se>
date Tue, 05 Oct 2021 15:49:47 +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