Skip to content

Commit

Permalink
Maintenance (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
clang-clang-clang authored Oct 10, 2023
1 parent 0f62fee commit 798bda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/resources/dkjson.lua
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ encode2 = function (value, indent, level, buffer, buflen, tables, globalorder, s
for i = 1, n do
local k = order[i]
local v = value[k]
if v then
if v ~= nil then
used[k] = true
buflen, msg = addpair (k, v, prev, indent, level, buffer, buflen, tables, globalorder, state)
prev = true -- add a seperator before the next element
Expand Down

0 comments on commit 798bda0

Please sign in to comment.