[
https://issues.apache.org/jira/browse/FELIX-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898634#comment-17898634
]
Konrad Windszus commented on FELIX-6736:
----------------------------------------
The equivalent for the Felix Config serialization format already emits them in
alphabetical order:
https://github.com/apache/felix-dev/blob/958c28de32db1ec062b273b4c0e5faa9a70a87b6/configadmin/src/main/java/org/apache/felix/cm/file/ConfigurationHandler.java#L235C32-L235C43
> org.apache.felix.cm.json.io.ConfigurationWriter.writeConfiguration(...)
> should emit properties in alphabetical order
> --------------------------------------------------------------------------------------------------------------------
>
> Key: FELIX-6736
> URL: https://issues.apache.org/jira/browse/FELIX-6736
> Project: Felix
> Issue Type: Improvement
> Components: Configuration Admin
> Affects Versions: cm.json-2.0.6
> Reporter: Konrad Windszus
> Priority: Major
>
> Currently the order is being based on the given {{Dictionary}} in
> https://github.com/apache/felix-dev/blob/958c28de32db1ec062b273b4c0e5faa9a70a87b6/cm.json/src/main/java/org/apache/felix/cm/json/io/impl/ConfigurationWriterImpl.java#L92.
> Not sure if alphabetical order should be opt-in or default behaviour though.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)