aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/json.d.tl
blob: a1c250042ed69ab8e6632549d966a1590cef408a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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