Comments (8)
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.50-SNAPSHOT/
问题已修复,请帮忙用2.0.50-SNAPSHOT版本验证,2.0.50版本预计在5月12日前发布
最新版本的快照版本已经在多种aarch64架构的服务器上通过JDK8/11/17测试,包括:
阿里云倚天710
华为云鲲鹏服务
Amazon EC2 C7g (Arm-based AWS Graviton3)
Orange Pi5 Plus RK3588
Orange Pi Aipro (昇腾)
from fastjson2.
哪个版本?给个 testcase?
from fastjson2.
2.0.45 参数就是上的json
但是这个不是每次都能复现 我本地没有出现过 在国产环境有时间会出现 上面的json就是出现时的前台传的信息
@RequestMapping("/saveData")
public void saveData(@requestbody Map param) throws Exception {
String s = JSONObject.from(param).toString();
System.out.println(s);
}
from fastjson2.
奇怪了,我是在阿里云的倚天710 ARM机器上测试过没问题的,鲲鹏不知道是什么架构,没有环境
from fastjson2.
使用JSON.toJSONString(param, JSONWriter.Feature.FieldBased, JSONWriter.Feature.WriteNullStringAsEmpty);代替了 目前没有在报错了 在观察观察
from fastjson2.
#2502 看下我提交的这个bug,我也是鲲鹏服务器上,不是每次必现
from fastjson2.
@luckytao 这个问题在linux aarch64 jdk8下会偶发,我也没找到原因,现在的做法是JDK8就换一种实现。
from fastjson2.
https://github.com/alibaba/fastjson2/releases/tag/2.0.50
2.0.50已发布,请用新版本
from fastjson2.
Related Issues (20)
- [BUG] 使用WriteClassName序列化,然后再反序列化时@type信息没有去除 HOT 6
- [QUESTION] java.lang.OutOfMemoryError: try enabling LargeObject feature instead HOT 1
- com.alibaba.fastjson2.JSONObject#toJavaObject(java.lang.Class<T>, com.alibaba.fastjson2.JSONReader.Feature...)bug HOT 3
- [QUESTION] 发现有两种日期date格式不支持(12-hour clock 12小时制和CLDR) HOT 2
- [BUG] 当对象出使用Character 出现java.lang.OutOfMemoryError异常。 HOT 2
- [BUG]将java对象序列化为json字符串时报错,fastjson 1.2.83运行正常,fastjson2 2.0.50运行报错 HOT 3
- [BUG] 2.0.50 JSONPath.eval 代码行为改变。path 是 $,rootObject 不是 json 格式字符串,抛异常。 HOT 3
- [BUG] Support `@JsonInclude(Include.NON_EMPTY)` HOT 12
- [BUG] WriteNullStringAsEmpty 特性,在某些情况下会失效 HOT 5
- [BUG] Support `@JsonSetter` annotation HOT 3
- [BUG] Support `@JsonBackReference` and `JsonManagedReference` annotations HOT 3
- java.util.ConcurrentModificationException[BUG] HOT 7
- [QUESTION]Set和数字不能反序列化
- [BUG]同时设置JSONField与JsonProperty,转字符串和字符串转对象结果不同 HOT 1
- [BUG]对象转JsonString后,时间发生变化 HOT 1
- [BUG]JSONPath的set方法添加3层嵌套下的key-value失败 HOT 4
- [BUG] @JSONType 结合 JSONWriter.Feature.WriteClassName,JSONWriter.Feature.NotWriteRootClassName 也会输出根类名。
- fastjson2如何通过JSONReader解析大json HOT 4
- [BUG] class com.alibaba.fastjson.JSONObject cannot be cast to class com.alibaba.fastjson2.JSONObject HOT 1
- class com.alibaba.fastjson.JSONObject cannot be cast to class com.alibaba.fastjson2.JSONObject[BUG] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastjson2.