alibaba / alibaba/fastjson2

[FEATURE] 希望新增方法 JSON.parse(InputStream in)

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

Description

### 希望新增方法 JSON.parse(InputStream in)
*目前仅提供了 JSON.parse(InputStream in, Context context),但在实际使用的时候通常只能提供 InputStream 参数。 据观察,JSON.parseObjec、JSON.parseArray 都对 InputStream 参数更加友好 *

Contributor guide

Open the contributing guide

Research direction

Start at the JSON.parse(InputStream, Context) entry point and compare it with the existing JSON.parseObject and JSON.parseArray InputStream overloads. Add the requested no-context JSON.parse(InputStream) API with matching behavior, then verify the overload through the relevant parser tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend-api-design
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.