[ 
https://issues.apache.org/jira/browse/SLING-8935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000170#comment-17000170
 ] 

Konrad Windszus commented on SLING-8935:
----------------------------------------

The PR from https://github.com/apache/sling-org-apache-sling-feature-io/pull/14 
fixes this as well.

> Support serializing primitive arrays and Collections from Feature Model 
> Configurations
> --------------------------------------------------------------------------------------
>
>                 Key: SLING-8935
>                 URL: https://issues.apache.org/jira/browse/SLING-8935
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>    Affects Versions: Feature Model IO 1.1.0
>            Reporter: Konrad Windszus
>            Priority: Minor
>
> Currently the serialization of feature models only supports Arrays of 
> objects. But the OSGi spec at  
> https://osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html#d0e131765
>  as well as the configuration admin allow also 
> * Collections and
> * arrays of primitive types
> IMHO Reading/Deserializing those is already supported via 
> https://github.com/apache/felix/blob/trunk/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to