alibaba / alibaba/HandyJSON

Crash at iOS 14 beta 5

Open
#402 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
4.3k
Forks
677
PR merge metrics
No merged PRs in 30d

Description

崩溃在这个方法里
func toJSON() -> [String: Any]? {
if let dict = Self._serializeAny(object: self) as? [String: Any] {
return dict
}
return nil
}

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue identifies toJSON() and the internal _serializeAny(object:) call as the crash location, but names no file or test. Reproduce the crash on iOS 14 beta 5, then inspect those entry points and determine the failing input; done means toJSON() no longer crashes for that case.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.