alibaba / alibaba/fastjson2

[BUG]Caused by: com.alibaba.fastjson2.JSONException: expect ':', but 55, offset 2, character ", line 1, column 2, fastjson-version 2.0.64 {"message_id":5777,"message_type":"platform.status.logout","message_source":"pcg","push_time":"2026-08-28T09:47:24

Open
#7,839 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

### 问题描述
at com.alibaba.fastjson2.JSONReaderUTF16.readFieldNameHashCode(JSONReaderUTF16.java:1234)
at com.alibaba.fastjson2.reader.ORG_4_5_PlatformMqMessageVo.readObject(Unknown Source)
at com.alibaba.fastjson2.JSON.parseObject(JSON.java:1228)

arm环境下对json格式数据的兼容性

### 环境信息
*请填写以下信息:*

- OS信息: aarch64
- JDK信息:
java version "1.8.0_451"
Java(TM) SE Runtime Environment (build 1.8.0_451-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.451-b10, mixed mode)
- 版本信息: Fastjson2.0.64

### 重现步骤
1.0版本升级至 最新版本 出现解析错误

Contributor guide

Open the contributing guide

Research direction

Start at JSONReaderUTF16.java:1234 and trace the failure from JSON.parseObject through the generated ORG_4_5_PlatformMqMessageVo reader. Reproduce the reported input on aarch64 with Fastjson 2.0.64 and compare it with the 1.0 version. Done means the reported JSON is parsed correctly without the expect ':' error, with regression coverage added if the repository provides an appropriate test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.