-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
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
"{\"v\":[\" \",\"abc\",\"x\",\"abc\"]}" with generic Map<String,char[]> still through parse? #776
Comments
Get this result because: array.toString().toCharArray() |
I think may be the correct generic is Map<String,String[]> or Map<String,char[][]>,the generic Map<String,char[]> is confused. |
Your response doesn't make sense. You put in something that is the direct cause of the unexpected behavior of FastJson, which needs to be fixed: array.toString().toCharArray(); The code above is crappy and doesn't capture the right intention. While Jackson's behavior is much more appreciated: This issue is NOT a question, it is a bug report about a misleading behavior of FastJson. |
Thanks for taking this one as a bug, it makes me feel much more confortable with my decision of using FastJson as the built-in JSON library for ActFramework |
@greenlaw110 |
and then,it outpputs-> [" ","abc","x","abc"]
Is it right?
Actually If the generic is Map<String,String[]> or Map<String,char[][]>,it will correct.
The text was updated successfully, but these errors were encountered: