Json.decode broken in lua 5.4

Are you sure that you are inputting valid json?
I believe I noticed the same thing a few months ago, but it tuned out I was relying on edge cases.