alibaba / alibaba/fastjson2

JSON.register在springboot3下无效

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

Description

JSON.register(A.class, new ASerializer());
这个在springboot3下无效,请教下怎么配置能全局生效呢

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported JSON.register(A.class, new ASerializer()) call in a Spring Boot 3 application and compare its behavior with the same registration outside Spring Boot. Trace the relevant configuration entry points and determine what is needed for the serializer registration to apply globally; done means the custom serializer is used throughout the application.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.