Re: JSON import error

2017-11-03 Thread Dave Kilroy via use-livecode
quite agree, and as Jacque says “its the law” - and only the brave own up to their DOH! moments (of which I have several every hour) kind regards dave > From the thrid party perspective, it doesn’t matter whether the OP has an > epiphany, or another list contributor solves the problem. All i

Re: JSON import error

2017-11-03 Thread Mark Wieder via use-livecode
On 11/03/2017 05:03 AM, Phil Jimmieson via use-livecode wrote: Or when you’re preparing an example stack for the bug report and realise that it’s not a bug, you’ve been doing it wrong... Normally I find that right *after* filing the bug report. -- Mark Wieder ahsoftw...@gmail.com

Re: JSON import error

2017-11-03 Thread Mark Waddingham via use-livecode
On 2017-11-03 13:03, Phil Jimmieson via use-livecode wrote: Or when you’re preparing an example stack for the bug report and realise that it’s not a bug, you’ve been doing it wrong... Recipe stacks for bugs are useful for all kinds of reasons ;) Warmest Regards, Mark. -- Mark Waddingham ~ m.

Re: JSON import error

2017-11-03 Thread Phil Jimmieson via use-livecode
Or when you’re preparing an example stack for the bug report and realise that it’s not a bug, you’ve been doing it wrong... > On 3 Nov 2017, at 11:55, Mark Waddingham via use-livecode > wrote: > > On 2017-11-02 19:57, J. Landman Gay via use-livecode wrote: >> On 11/2/17 6:52 AM, Dave Kilroy vi

Re: JSON import error

2017-11-03 Thread Mark Waddingham via use-livecode
On 2017-11-02 19:57, J. Landman Gay via use-livecode wrote: On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story of my life. I've since hit another error in the JSON import

Re: JSON import error

2017-11-03 Thread David V Glasgow via use-livecode
From the thrid party perspective, it doesn’t matter whether the OP has an epiphany, or another list contributor solves the problem. All is good interesting and helpful. It’s also nice to see that even the wise ones have the same 'moments of discovery' that the rest of us do. David G > On

Re: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode
On 11/2/17 2:45 PM, Mark Wieder via use-livecode wrote: On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote: On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story

Re: JSON import error

2017-11-02 Thread Mark Wieder via use-livecode
On 11/02/2017 11:57 AM, J. Landman Gay via use-livecode wrote: On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story of my life. I've since hit another error in the JSON impo

Re: JSON import error

2017-11-02 Thread J. Landman Gay via use-livecode
On 11/2/17 6:52 AM, Dave Kilroy via use-livecode wrote: https://en.wikipedia.org/wiki/Rubber_duck_debugging Yeah. Story of my life. I've since hit another error in the JSON import but now I'm afraid to post about it. :) -- Jacqueline Lan

Re: JSON import error

2017-11-02 Thread Dave Kilroy via use-livecode
https://en.wikipedia.org/wiki/Rubber_duck_debugging ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferen

Re: JSON import error

2017-11-02 Thread Monte Goulding via use-livecode
file: will recognise the BOM and decode the text correctly. > On 2 Nov 2017, at 5:36 pm, J. Landman Gay via use-livecode > wrote: > > I sent my message too soon. If I import as "file:" instead of "binfile:" it > mostly works. > > You always figure it out as soon as you post. It's a rule. _

Re: JSON import error

2017-11-01 Thread J. Landman Gay via use-livecode
I sent my message too soon. If I import as "file:" instead of "binfile:" it mostly works. You always figure it out as soon as you post. It's a rule. On 11/2/17 1:02 AM, J. Landman Gay via use-livecode wrote: I am trying to convert some JSON to a LC array. Both JSONImport and JSONToArray are fa

JSON import error

2017-11-01 Thread J. Landman Gay via use-livecode
I am trying to convert some JSON to a LC array. Both JSONImport and JSONToArray are failing. JSONToArray gives only a generic "error in function". JSONImport gives this: 863,9,9,runtime 864,9,9,syntax error: 1:1 Unexpected character '˛' 865,9,9,json.lcb 866,9,9,65 897,9,9,1 865,9,9,json.lcb 866