[ https://issues.apache.org/jira/browse/SLING-3368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890768#comment-13890768 ]
Nicolas Peltier commented on SLING-3368: ---------------------------------------- that's a nice idea :-) and would allow not to change the API. What others think? There is still the immutable debate: should this be adapted in immutable objects? > Simplify JSONObject and JSONArray access > ---------------------------------------- > > Key: SLING-3368 > URL: https://issues.apache.org/jira/browse/SLING-3368 > Project: Sling > Issue Type: Improvement > Components: Commons > Reporter: Nicolas Peltier > Priority: Minor > Attachments: > [json]_add_other_ways_to_use_JSONArray_and_JSONObject.patch > > > Map JSONObject.toMap and JSONArray implementing Iterable allows better usage > of those classes. -- This message was sent by Atlassian JIRA (v6.1.5#6160)