FIX - isolate custom app JSON payload

This commit is contained in:
Leon.Schmidt
2026-08-11 19:00:51 +02:00
parent c95775fb2c
commit 4be632759b
2 changed files with 10 additions and 3 deletions
+8 -2
View File
@@ -24,10 +24,16 @@ Config = {
}
json = {
decode = function()
decode = function(encoded)
if encoded == "null" then
return nil, 5
end
return {}
end,
encode = function()
encode = function(value)
if value == nil then
return "null"
end
return "{}"
end,
}