Comments (7)
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.
Related Issues (20)
- [BUG] JSON.toJSONString on org.joda.time.DateTime HOT 2
- [QUESTION] HOT 2
- [BUG] JSON.parseObject with malformed json
- [BUG] JSONPath.eval not getting data
- [BUG] Abnormal serialization with JSON.toJSONBytes HOT 5
- [BUG] Inconsistency in Serialization with JSON.toJSONBytes
- [BUG] JSON.toJSONString 行为不一致 HOT 1
- [BUG] Fix support to @JsonSubTypes HOT 2
- [BUG] JSON.parseObject with @JSONFIeld not working
- [BUG] JSON.toJSON(Bean) with Date HOT 3
- [BUG] @JSONField with unwrapped on set/get HOT 3
- [BUG] JSON.toJSONString on Timestamp HOT 1
- [BUG] Serialization of Timestamp HOT 1
- [BUG] Inconsistency in JSON.parseObject HOT 1
- java.time.LocalDate 序列化时不记录类型
- [FEATURE]org.bson.types.Decimal128转Double时会报错 HOT 5
- [BUG] WriteNonStringValueAsString with Boolean HOT 3
- [BUG] Deserialization with SupportAutoType HOT 1
- [BUG] HOT 3
- [BUG] JSONB.toBytes with org.joda.time.DateTime HOT 3
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.