I have data represented in CF as an array of structures, for example:
var foo = [{key = 'bar', value = 'baz', ... }...];
This structure is sequentially repeated and then transferred to another related structure, which is as follows:
foo2[key] = {key = 'bar', value = 'baz', ...};
Then it is sent to the SerializeJSON () method and sent to the browser. The problem is that the order of the keys in foo or foo2 is alphabetical, and not in the order in which they were added. This causes a problem on the client side, as this collection is repeating itself again and is expected to be ordered. Any suggestions?
illvm source
share