json4lua icon indicating copy to clipboard operation
json4lua copied to clipboard

Variable declared in global scope

Open ojunqueira opened this issue 5 years ago • 1 comments

I believe that 'object' variable was not initialized here, being declared in Lua global scope. Is it right? By the way, thanks for developing this module!

ojunqueira avatar Feb 27 '20 18:02 ojunqueira

I ran across this issue myself today. I was trying to track down & clean up some global variables, and I never expected that it would be the JSON module that was the culprit. please accept this PR

Zamiell avatar Feb 08 '22 05:02 Zamiell