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
`
public void test() { Bean bean = new Bean(); bean.setAa(Long.valueOf(1)); assertTrue(bean.getAa() instanceof Long); String str = JSON.toJSONString(bean, JSONWriter.Feature.WriteClassName); Bean object = JSON.parseObject(str,Bean.class,JSONReader.Feature.SupportClassForName); assertTrue(object.getAa() instanceof Long); // 不通过 } public static class Bean { public Object getAa() { return aa; } public void setAa(Object aa) { this.aa = aa; } private Object aa; }
The text was updated successfully, but these errors were encountered:
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.7-SNAPSHOT/ 已经支持,请用2.0.7-SNAPSHOT版本验证
Sorry, something went wrong.
https://github.com/alibaba/fastjson2/releases/tag/2.0.7 问题已经修复,请用新版本
No branches or pull requests
`
`
The text was updated successfully, but these errors were encountered: