alibaba / alibaba/fastjson2

JSONObject.toJSONString(item) item为一个实体类 但是生成的json字符串 有的value是有双引号的 有的没有 这个生成规则是什么

Open
#1,311 0 comments 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

### 请描述您的问题
*询问有关本项目的使用和其他方面的相关问题。*

Contributor guide

Open the contributing guide

Research direction

The issue names JSONObject.toJSONString(item) but provides no entity class, output example, file, or test. Start by locating the JSONObject.toJSONString entry point and the relevant serialization documentation or tests; done would be a documented explanation of when serialized values receive quotation marks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.