crossoverJie / crossoverJie/xjson

有些异常json解析没有报错

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
48
Forks
4
PR merge metrics
No merged PRs in 30d

Description

例如:`{{"a":1}}`
问题原因:一个BeginObject后面不可能继续跟一个BeginObject

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the input `{{"a":1}}`, then inspect the parser entry point and its handling of consecutive BeginObject tokens. Done means this invalid JSON is rejected with a parsing error, while valid objects continue to parse successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.