[BUG] Deserialization to JSONObject when using SortedMap
Open
bug
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
xxxObject {
private SortedMap ackSampleConfig;
}
it works if the `SortedMap` is `Map`, otherwise classcastException throws.
Contributor guide
Research direction
Start by creating a minimal reproduction from the issue's object containing SortedMap and compare deserialization with Map. Trace the SortedMap handling until the ClassCastException is identified; done means the SortedMap case deserializes successfully like the Map case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100