diff options
Diffstat (limited to 'teal-src/util/json.d.tl')
-rw-r--r-- | teal-src/util/json.d.tl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/teal-src/util/json.d.tl b/teal-src/util/json.d.tl index 86a1495e..a1c25004 100644 --- a/teal-src/util/json.d.tl +++ b/teal-src/util/json.d.tl @@ -1,5 +1,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 |