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

2019-08-15 Thread Carsten Ziegeler (JIRA)


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

Carsten Ziegeler updated SLING-8632:

Component/s: (was: Feature Flags)
 Feature Model

> 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)


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

2019-08-15 Thread Carsten Ziegeler (JIRA)


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

Carsten Ziegeler updated SLING-8632:

Fix Version/s: Feature Model IO 1.1.0

> 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 Flags
>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)