• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 288: Line 288:  
         for k, v in pairs(x) do
 
         for k, v in pairs(x) do
 
             if type(v) == "table" then
 
             if type(v) == "table" then
                 r = r .. string.rep("  ", i + 1) .. tostring(k) .. ": " .. Utils.json(v, i + 1)
+
                 r = r .. string.rep("  ", i + 1) .. showValue(k) .. ": " .. Utils.json(v, i + 1)
 
             else
 
             else
                 r = r .. string.rep("  ", i + 1) .. tostring(k) .. ": " .. showValue(v) .. ",\n"
+
                 r = r .. string.rep("  ", i + 1) .. showValue(k) .. ": " .. showValue(v) .. ",\n"
 
             end
 
             end
 
         end
 
         end
         r = r .. string.rep("  ", i) .. "},\n"
+
         r = r .. string.rep("  ", i) .. (i == 0 and "}\n" or "},\n")
 
     else
 
     else
 
         return showValue(x)
 
         return showValue(x)
cssedit, gkautomate
7,064

edits

Navigation menu