alibaba / alibaba/fastjson2

[BUG]: set JSONFactory.setUseJacksonAnnotation(false) at class or project level

Open
#1,907 4 comments 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

Problem Description
how to set JSONFactory.setUseJacksonAnnotation(false) at class or project level.

environmental information
Please fill in the following information:

OS information: [eg: windows10 16 GB]
JDK information: [eg: jsk 17]
Version information: [eg: Fastjson2 2.0.38]
Steps to reproduce
currently this property has to be set in all places individually wherever it is required.
Looking for a way to set it for whole project

Contributor guide

Open the contributing guide

Research direction

Start by tracing the JSONFactory.setUseJacksonAnnotation(false) entry point and how its setting is currently consumed. Determine whether class-level or project-wide configuration is supported, then verify that the chosen setting applies without repeating the call at each use site.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
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.