Re: Livecode Json Arrays Key Sort

2018-03-29 Thread Brian Milby via use-livecode
The fix is probably as easy as exposing the list type to LCS. Mark
mentioned that at the last LCG last year. Since the parser already uses the
list type and the engine has a list type internally it shouldn’t be that
hard.
On Thu, Mar 29, 2018 at 5:34 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 03/29/2018 01:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> > put JSONToArray(tJson) into sColArrayA
> >
> >
> >
> > It is my imagination:
> >
> >
> >
> > Or  are the keys of {object set} output as hash order (as per
> dictionary, required sort them first)
> >
>
> https://quality.livecode.com/show_bug.cgi?id=19698
> ...maybe it's worth prodding Mark Waddingham (comment #10) that *now*
> would be a good time to fix this.
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Livecode Json Arrays Key Sort

2018-03-29 Thread Mark Wieder via use-livecode

On 03/29/2018 01:25 PM, Sannyasin Brahmanathaswami via use-livecode wrote:

put JSONToArray(tJson) into sColArrayA



It is my imagination:



Or  are the keys of {object set} output as hash order (as per dictionary, 
required sort them first)



https://quality.livecode.com/show_bug.cgi?id=19698
...maybe it's worth prodding Mark Waddingham (comment #10) that *now* 
would be a good time to fix this.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Livecode Json Arrays Key Sort

2018-03-29 Thread Sannyasin Brahmanathaswami via use-livecode
put JSONToArray(tJson) into sColArrayA



It is my imagination:



Or  are the keys of {object set} output as hash order (as per dictionary, 
required sort them first)

simply delimited by



{

1

3

5

6

7

2

4

}



but keys of an array output as numeric



[{

1

2

3

4

]]



get always



1

2

3

4



with sorting?






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode