File

teal-src/util/json.d.tl @ 11624:1b7669c49459

mod_s2s: Remove duplicate method call (thanks luacheck) Should have been removed in the previous commit.
author Kim Alvefur <zash@zash.se>
date Mon, 21 Jun 2021 13:45:44 +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