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

David Bosschaert commented on FELIX-5556:
-----------------------------------------

We should not do this. JSON Objects are maps and maps are unordered by 
definition. Why wouldn't you use an array if you need order?

> 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)

Reply via email to