Software /
code /
prosody
Comparison
teal-src/util/json.d.tl @ 11460:a8b4e04bc044
util.jsonschema: Rename types for improved readability
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Mar 2021 23:57:03 +0100 |
parent | 11432:113f3912c7cb |
comparison
equal
deleted
inserted
replaced
11459:86904555bffc | 11460:a8b4e04bc044 |
---|---|
1 local record lib | 1 local record lib |
2 encode : function (any) : string | 2 encode : function (any) : string |
3 decode : function (string) : any, string | 3 decode : function (string) : any, string |
4 | |
5 enum json_type_name | |
6 "null" | |
7 "boolean" | |
8 "object" | |
9 "array" | |
10 "number" | |
11 "string" | |
12 "integer" | |
13 end | |
14 | |
15 type null_type = (nil) | |
16 null : null_type | |
4 end | 17 end |
5 return lib | 18 return lib |