https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
--- Comment #8 from cariaso ---
http://www.ietf.org/rfc/rfc4627.txt
An object is an unordered collection of zero or more name/value
pairs, where a name is a string and a value is a string, number,
boolean, null, object, or array.
An a
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
--- Comment #7 from cariaso ---
I recognize the issue has been closed. But will continue to record some
relevant notes on this topic.
http://search.cpan.org/~mlehmann/JSON-XS-2.33/XS.pm#JSON_->_PERL
--
You are receiving this mail because:
Yo
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
Jeroen De Dauw changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
--- Comment #5 from Jamie Thingelstad ---
Sorry, I can confirm the comment above. I forgot that my JSON formatter
extension was displaying an interpretation of the raw results. Indeed, the raw
result from the API is indeed sorted. But once the
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
--- Comment #4 from cariaso ---
The json response text is correctly ordered, but because the type is a {}
instead of a [] all of the libraries which turn the response into an object do
not preserve the ordering.
--
You are receiving this mail
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
--- Comment #3 from MWJames ---
Just to chip in here, the SMW\DISerializer did not change the output recently
and it was always an results dictionary object (rather then the proposed change
to an array).
--
You are receiving this mail because
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
--- Comment #2 from Jeroen De Dauw ---
> This is because "results" is returned as an object instead of as a list.
In JS, maps are order dependent while arrays are not. Don't see how returning
results as map would cause a sorting problem. It se
https://bugzilla.wikimedia.org/show_bug.cgi?id=45303
Nischay Nahata changed:
What|Removed |Added
CC||ja...@thingelstad.com
--- Comment #1