Модуль:GetField: различия между версиями

Нет описания правки
Нет описания правки
Строка 1145: Строка 1145:
if type(v) == "table" then
if type(v) == "table" then
if is_array_of_primitives(v) then
if is_array_of_primitives(v) then
local json = encode_nowiki_json(v)
if json then
parts[#parts + 1] = key .. "=" .. tostring(json)
end
elseif options.nestedKeyMode == "raw" then
local json = encode_nowiki_json(v)
local json = encode_nowiki_json(v)
if json then
if json then