File

teal-src/util/json.d.tl @ 12045:a6c821720cb6

mod_smacks: Back out 48f8fa6cea7b - back in a86ae74da96c again Maybe it works now with the session patching in the previous commit
author Kim Alvefur <zash@zash.se>
date Mon, 13 Dec 2021 21:48:29 +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