Re: [utils] support ordering for JSON objects in JSONParser?

2017-02-21 Thread Achim Nierbeck
Hi, this is another reason to start thinking about using a "real" JSON parser instead of using a simple string parser. As in the other thread about comments, I think if a simple string parser isn't enough, use an existing one, for example Apache Johnzon[1]. In that case you don't have to worry abo

Re: [utils] support ordering for JSON objects in JSONParser?

2017-02-20 Thread David Leangen
I don’t particularly see a problem with it. +1 (for keeping, non binding) Cheers, =David > On Feb 21, 2017, at 4:34 PM, Stefan Seifert wrote: > > i created FELIX-5556 to make sure JSON object order is retained when parsing > a JSON file, and reverted the commit after the complaint from fe

[utils] support ordering for JSON objects in JSONParser?

2017-02-20 Thread Stefan Seifert
i created FELIX-5556 to make sure JSON object order is retained when parsing a JSON file, and reverted the commit after the complaint from felix. background: - the original JSON spec [1] clearly defined JSON objects "is an unordered collection" - the revised JSON spec [2] states the same, but ad