Software /
code /
prosody
File
teal-src/util/json.d.tl @ 12919:7c0e5c7eff7c
mod_tokenauth: Fix misplaced closing parenthesis
`type(x ~= y)` is always a string, thus truthy
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Mar 2023 22:34: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