You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/01/14 12:56:00 UTC

[jira] [Closed] (SLING-8935) Support serializing primitive arrays and Collections from Feature Model Configurations

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

Konrad Windszus closed SLING-8935.
----------------------------------

> 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
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: Feature Model IO 1.2.0
>
>
> 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)