Software /
code /
prosody
Diff
util/jsonschema.lua @ 12975:d10957394a3c
util: Prefix module imports with prosody namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Mar 2023 16:23:16 +0100 |
parent | 12760:ce1a0f9bf25a |
child | 12988:8592770be63a |
line wrap: on
line diff
--- a/util/jsonschema.lua Fri Mar 17 16:23:12 2023 +0100 +++ b/util/jsonschema.lua Fri Mar 17 16:23:16 2023 +0100 @@ -3,10 +3,10 @@ local m_type = function(n) return type(n) == "number" and n % 1 == 0 and n <= 9007199254740992 and n >= -9007199254740992 and "integer" or "float"; end; -local json = require("util.json") +local json = require("prosody.util.json") local null = json.null; -local pointer = require("util.jsonpointer") +local pointer = require("prosody.util.jsonpointer") local json_type_name = json.json_type_name