File

teal-src/util/json.d.tl @ 11493:77f2d45799ed

mod_http_file_share: Fix reporting of missing files This just gave an unhelpful 500 error. It would be nice to have some wrapper code that could untangle the embedded filename in the io libs errors.
author Kim Alvefur <zash@zash.se>
date Sun, 28 Mar 2021 13:51:06 +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