[
https://issues.apache.org/jira/browse/SLING-8935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000173#comment-17000173
]
Konrad Windszus commented on SLING-8935:
----------------------------------------
[~cziegeler] Please go ahead and merge if you agree with the changes in the PR.
> 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.1.2
>
>
> 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)