请问怎么在序列化的时候,对生成的json字符串按自定义规则排序字段
Open
- Dominant language
- Swift
- Stars
- 4.3k
- Forks
- 677
- PR merge metrics
- No merged PRs in 30d
Description

如图每次序列化顺序是不固定的 想固定顺序方便阅读
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is named. Start by reviewing HandyJSON's serialization APIs and current JSON field-order behavior; the work would need a defined custom ordering rule and a way to verify that serialized output follows it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100