Software / code / prosody
File
teal-src/util/json.d.tl @ 13057:20b1526772d2 0.12
prosodyctl: Fix using variable content in a format string
This broke if the error message contained a format specified such as '%s'.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 07 Apr 2023 15:54:59 +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