From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2f7ef46127892c41 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Received: by 10.66.85.162 with SMTP id i2mr389321paz.30.1343130724882; Tue, 24 Jul 2012 04:52:04 -0700 (PDT) Path: b9ni47261974pbl.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.news.ucla.edu!usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Marc C Newsgroups: comp.lang.ada Subject: Re: Little people supporting Ada, possibly through AdaCore? Date: Wed, 18 Jul 2012 06:33:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <12955589.960.1336138013614.JavaMail.geo-discussion-forums@vbbfk16> <5043095.1117.1336142172111.JavaMail.geo-discussion-forums@vbli11> <2d7fae9a-5be7-4011-a945-5ecd95684025@googlegroups.com> <949570cd-bdda-49ff-93c7-5189546adf7a@googlegroups.com> <5004ff62$0$293$14726298@news.sunsite.dk> NNTP-Posting-Host: 134.223.116.200 Mime-Version: 1.0 X-Trace: posting.google.com 1342618415 12213 127.0.0.1 (18 Jul 2012 13:33:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 18 Jul 2012 13:33:35 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=134.223.116.200; posting-account=mjE6MAoAAADjsB3NIuKgfHO4u-Elh3cb User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-18T06:33:34-07:00 List-Id: On Tuesday, July 17, 2012 8:47:02 AM UTC-5, Adrian Hoe wrote: > On Tuesday, July 17, 2012 2:00:03 PM UTC+8, Thomas L=F8cke wrote: > > From json.org: > >=20 > > "An object is an unordered set of name/value pairs." > Yeah, but looks like GNATColl.JSON has mixed up the order of objects.=20 > The objects should be traversed in the same order as they were created > The question is: Why the objects cannot be traversed in the original orde= r as they are created? An "unordered" set is an *unordered* set. It is inappropriate to expect any= kind of intrinsic or 'order of insertion' ordering of elements in such a = set. It would be a waste of development and computational resources to impo= se a behavior on an entity that is not required. On the other hand, a "JSONArray is an ordered sequence of values" (http://w= ww.json.org/javadoc/org/json/JSONArray.html). Marc A. Criley