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版本: openjdk_8_201 hutool版本: 5.X.X(请确保最新尝试是否还有问题)
Map<String, Object> map = new HashMap<>(1, 1f); Map<String, Object> node = map; for (int i = 0; i < 1000; i++) { node = (Map<String, Object>) node.computeIfAbsent("a", k -> new HashMap<String, Object>(1, 1f)); } node.put("a", 1); String jsonStr = JSONUtil.toJsonStr(map); System.out.println(jsonStr); JSONObject jsonObject = new JSONObject(jsonStr); System.out.println(jsonObject.toString());
堆栈信息
测试涉及到的文件(注意脱密)
比如报错的Excel文件,有问题的图片等。
The text was updated successfully, but these errors were encountered:
这个是节点太多,递归栈溢出了。
暂无解。
考虑从6.x开始改为循环解析。
Sorry, something went wrong.
No branches or pull requests
版本情况
JDK版本: openjdk_8_201
hutool版本: 5.X.X(请确保最新尝试是否还有问题)
问题描述(包括截图)
堆栈信息
测试涉及到的文件(注意脱密)
比如报错的Excel文件,有问题的图片等。
The text was updated successfully, but these errors were encountered: