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
JDK版本: correto_1.8.0_432 hutool版本: 5.8.27(请确保最新尝试是否还有问题)
将json数组字符串转为map对象,没有报错,返回config信息,截图如下:
String fieldMapping = """ [{"lable":"id","value":"id"},{"lable":"name","value":"name"},{"lable":"age","value":"age"}] """; TypeReference<Map<String, String>> typeReference = new TypeReference<>() { }; Map<String, String> fieldsMapping = JSONUtil.toBean(fieldMapping, typeReference, false);
The text was updated successfully, but these errors were encountered:
5.8.34修复此问题,感谢~~
Sorry, something went wrong.
No branches or pull requests
版本情况
JDK版本: correto_1.8.0_432
hutool版本: 5.8.27(请确保最新尝试是否还有问题)
问题描述(包括截图)
将json数组字符串转为map对象,没有报错,返回config信息,截图如下:
无报错
The text was updated successfully, but these errors were encountered: