[ https://issues.apache.org/jira/browse/SLING-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14076070#comment-14076070 ]
Felix Meschberger commented on SLING-3786: ------------------------------------------ While I agree with the goal, I doubt this is really usefull: IIRC this is code we took (and repackaged and slightly changed) from json.org. So if there would be duplication upstream, this should be fixed upstream and we should update our fork. > Add tests and refactor JSON to String conversion > ------------------------------------------------ > > Key: SLING-3786 > URL: https://issues.apache.org/jira/browse/SLING-3786 > Project: Sling > Issue Type: Improvement > Components: Commons > Affects Versions: Commons JSON 2.0.6 > Reporter: Bertrand Delacretaz > Assignee: Bertrand Delacretaz > Priority: Minor > Fix For: Commons JSON 2.0.8 > > > There's some code duplication in JSONObject, JSONArray and JSONWriter when it > comes to creating JSON strings, and the test coverage is very low. > We should improve this to allow extensions like SLING-3776 to be introduced > without breaking existing code. -- This message was sent by Atlassian JIRA (v6.2#6252)