ColinFine wrote:
>
> On Jul 31, 10:04 pm, jlizarraga <[email protected]> wrote:
>   
>> Hi all,
>>
>> The native JSON viewer in the console is *awesome*. Makes my job a lot
>> easier!
>>
>> But what would make it even better (for my purposes, at least), is the
>> option to show the response as it was, without alphabetizing it for
>> me.
>>
>> Don't get me wrong, in most cases having the response alphabetized
>> makes finding what you are looking for easy. But I often work with
>> some GIGANTOR and convoluted JSON responses that are organized to have
>> the most pertinent info at the top. It is much easier to compare two
>> or more of these responses if that information is kept at the top.
>>
>>     
> I didn't think the properties in a Javascript object had an order,
> have they?
>   
The JS/ECMAscript spec reads "an Object is an unordered collection of 
properties".
Unless I'm mistaken, a JS engine could suddenly decide to return the 
properties in any order.

However, they are usually kept in the order they have been created.

NH


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to