Software /
code /
prosody
File
teal-src/util/json.d.tl @ 12133:11060c8919b6
util.datamapper: Add support for $ref pointers
Allows reuse of repetitive definitions in schemas.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 29 Dec 2021 17:57:09 +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