You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2017/02/21 08:52:44 UTC

[jira] [Closed] (FELIX-5556) JSONParser does not retain object order

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

Stefan Seifert closed FELIX-5556.
---------------------------------
    Resolution: Won't Fix

agreed - setting to won't fix.

background was migration of some code that used the sling version of org.json which kept object ordering and used it for mapping to ordered content structure in JCR repository. then we have to switch to another json implementation.

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