You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2014/07/28 12:33:38 UTC
[jira] [Resolved] (SLING-3786) Add tests and refactor JSON to
String conversion
[ https://issues.apache.org/jira/browse/SLING-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved SLING-3786.
----------------------------------------
Resolution: Fixed
Refactoring is done, used in SLING-3776, test coverage of the rendering functionality is good own (verified with -Pjacoco-report)
> 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)