You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2019/08/15 09:41:00 UTC

[jira] [Resolved] (SLING-8632) Add a method to get a JSON object from an extension

     [ https://issues.apache.org/jira/browse/SLING-8632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-8632.
-------------------------------------
    Resolution: Fixed

Added new methods to get/set a JSON structure from an extension and adjusted IO to use these methods 

> Add a method to get a JSON object from an extension
> ---------------------------------------------------
>
>                 Key: SLING-8632
>                 URL: https://issues.apache.org/jira/browse/SLING-8632
>             Project: Sling
>          Issue Type: New Feature
>          Components: Feature Model
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Feature Model 1.1.0, Feature Model IO 1.1.0
>
>
> Extensions allow to store JSON objects, however, the method to retrieve that object just returns a string - which in turn requires every consumer to parse the string.
> Initially we wanted to avoid a dependency on JSON api/impl, however as we need it for the merging of features anyway, we can safely add such a method to the API



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)