moonsharp
moonsharp copied to clipboard
JsonTableConverter.JsonToTable can't handle escaped forward slash
In JSON, forward slash may be escaped. JsonTableConverter.TableToJson even automatically does that, but the Lexer that is used for both Lua and JSON can't handle that.
Making \/ an acceptable escape sequence will technically break compliance with Lua.
See https://github.com/bplu4t2f/moonsharp/commit/8017622cae23a64a7976f63ca11d08ff3c8f601e
See https://github.com/bplu4t2f/moonsharp/commit/58cbd4df54d29d1a2a7f030958d12aa2710de9b4