We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed that JsonEscapeUtil has the following code:
JsonEscapeUtil
static String getObligatoryEscapeCode(char c) { if (c < 32) return ESCAPE_CODES[c]; if (c == 0x22) return "\\\""; if (c == 0x5C) return "\\/"; return null; }
I'm curious as to why the escape character for 0x5C is ”\/” instead of "\\". Can anyone tell me why?
The text was updated successfully, but these errors were encountered:
@zoooooway It's a bug. Thank you for catching this. The return value should have been the java string "\\" or the string "\" as you suggested.
Sorry, something went wrong.
Fixed in commit 5dfbb61
No branches or pull requests
I noticed that
JsonEscapeUtil
has the following code:I'm curious as to why the escape character for 0x5C is ”\/” instead of "\\". Can anyone tell me why?
The text was updated successfully, but these errors were encountered: