-
Notifications
You must be signed in to change notification settings - Fork 495
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
[QUESTION]1.2.83升级至2.0.49后,JSONSerializer代码不兼容 #2450
Comments
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.50-SNAPSHOT/ |
@wenshao 您好,在com/alibaba/fastjson2/fastjson2/2.0.50-SNAPSHOT中未能找到JSONSerializer这个类,现在项目引的pom是 |
@wenshao 您好,已经验证,目前还有JSONSerializer.setContext(Serializer parent,Object object,Object fieldName,int features)方法和SerializerWriter.append(CharSequence csq)这两个方法被删除了 |
自定义序列化类的完整代码可以发出来么? |
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.50-SNAPSHOT/ |
@wenshao 您好,自定义序列化类如下 |
@wenshao 您好 有时间修复一下吧 谢谢~ |
@lbhkobe 计划在5.1期间处理哈 |
期待ing |
https://github.com/alibaba/fastjson2/releases/tag/2.0.50 |
好的 |
请描述您的问题
询问有关本项目的使用和其他方面的相关问题。
由于1.2.83安全性问题,升级至2.x版本,但是老代码中调用的JSONSerializer.containsReference、writeReference、println、incrementIdent、decrementIdent方法全部被删除了,希望能有替代方案
The text was updated successfully, but these errors were encountered: