[ https://issues.apache.org/jira/browse/SLING-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16629891#comment-16629891 ]
Carsten Ziegeler commented on SLING-7934: ----------------------------------------- Some more questions: - is the same JSONObject instance returned for each invocation on the same resource object? - is the JSONObject immutable? - If the JSONObject is mutable, is it intended to write changes back to the storage (similar to ModifiableValueMap) ? > Add the ability for a resource to adapt to a JSONObject > ------------------------------------------------------- > > Key: SLING-7934 > URL: https://issues.apache.org/jira/browse/SLING-7934 > Project: Sling > Issue Type: Improvement > Reporter: Jason E Bailey > Priority: Major > > There are multiple implementations all doing the same process of converting a > resource to a JSONObject. If it's that common we should just add the ability > to adapt the resource and centralize the implementation so that it's > consistent. -- This message was sent by Atlassian JIRA (v7.6.3#76005)