You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If we have a table {k1 = 123, k2 = false, k3 = false, k4 = '456'} and we use json.encode with keyorder = {'k2', 'k1', 'k3', 'k4'}, then this will not return the proper value. I looked into the json sources and realized what the problem is, where the keyorder is being checked (if v then), and it should go (if v ~= nil) so that the false value also passes