[
https://issues.apache.org/jira/browse/SLING-7934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631895#comment-16631895
]
Karl Pauls commented on SLING-7934:
-----------------------------------
I'm not sure that I like this idea. If we really would want something like
this, why not make it a library or failing that, a service? Using adaptTo will
make for some unpleasant (because hard to detect) coupling to the adaptTo
provider...
> 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)