[
https://issues.apache.org/jira/browse/FELIX-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15875590#comment-15875590
]
Carsten Ziegeler commented on FELIX-5556:
-----------------------------------------
I agree with Felix, we should not provide a false hope. If people switch to
another library or serialize/deserialize the ordering might be different, so
relying on it is very dangers. It's a map after all. If you want ordering use
an array
> JSONParser does not retain object order
> ---------------------------------------
>
> Key: FELIX-5556
> URL: https://issues.apache.org/jira/browse/FELIX-5556
> Project: Felix
> Issue Type: Bug
> Components: Utils
> Affects Versions: utils-1.9.0
> Reporter: Stefan Seifert
> Assignee: Stefan Seifert
> Fix For: utils-1.9.2
>
>
> the {{JSONParser}} does not retain the order of objects the JSON files it
> parses. the order is randomly based on the HashMap implementation used
> internally.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)