You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why does to List() converts JSONObjects to Maps? #1012
It's obviously deliberate and the desired behaviour, and the reason is very likely somewhere documented, but unfortunately I could not find it. So may I ask what is the logic or use cases for this behaviour?
And will you consider a new method to return a list of objects without converting JSONObjects to Maps etc?
@aghasemi There is already a discussion about JSONArray.toList() here: #737
I added your comment. This will be fixed soon. The old toList() will be deprecated, and a new method added that has the desired behavior.
Closing this issue, but post here if you think it should be reopened for any reason.
Activity
stleary commentedon Sep 20, 2025
@aghasemi There is already a discussion about JSONArray.toList() here: #737
I added your comment. This will be fixed soon. The old toList() will be deprecated, and a new method added that has the desired behavior.
Closing this issue, but post here if you think it should be reopened for any reason.