Maintain Order in JSON Import
Monte Goulding
monte at appisle.net
Mon Sep 12 17:31:28 EDT 2016
> On 13 Sep 2016, at 7:23 AM, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
>
> this seems "hacky" but can now order the keys because they default to numeric index
It is not hacky. It is the way you represent sequences in JSON. The hacky part is the pipe delimiter. Try:
"colorwheel": [
{
“name”: “Red”,
“color”: “255,0,0"
},
...
or
"colorwheel": [
{
“Red”: “255,0,0"
},
...
More information about the use-livecode
mailing list