lua-json4 escapes single quote, resulting in invalid json
As seen below, the " is properly escaped, but so is the ’, which should not be.
localhost:~# lua5.2
Lua 5.2.4 Copyright © 1994-2015 Lua.org, PUC-Rio
require(“json”)
print(json.encode({’“‘}))
[“\”“]
print(json.encode({”’”}))
[“\‘“]
print(”’”)
’
(from redmine: issue id 4645, created on 2015-09-17, closed on 2017-05-17)