# Get JSON Object in correct order

**URL:** <https://forum.kirupa.com/t/get-json-object-in-correct-order/301317>\
**Category:** flash\
**Created:** [December 7, 2009, 3:42pm UTC](https://forum.kirupa.com/t/get-json-object-in-correct-order/301317 "2009-12-07T15:42:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![livingdeadbeat](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@livingdeadbeat](https://forum.kirupa.com/u/livingdeadbeat)\
**Post date:** [December 7, 2009, 3:42pm UTC](https://forum.kirupa.com/t/get-json-object-in-correct-order/301317/1 "2009-12-07T15:42:19Z")

</div>

Hi

I’m getting a large JSON string and decoding it into an object, i’m looping through this object to create the interface. The problem is it seems to build the interface in a random order, is this because actionscript 3 loops through the properties of the object randomly? If so how can i get around this?

Thanks
