Re: Getting the JSON library into a standalone

2017-03-17 Thread Jonathan Lynch via use-livecode
I will - thanks.

On Fri, Mar 17, 2017 at 3:01 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 3/17/17 1:16 PM, Jonathan Lynch via use-livecode wrote:
>
>> This is in LC 8.1.2.
>>
>> Can anyone confirm that it is not able to include the JSON functions? Are
>> there any simple workarounds?
>>
>
> Is there a reason not to use 8.1.3? I remember there was an issue with
> inclusions at some point, so try the latest stable release.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.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
>



-- 
Do all things with love
___
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: Getting the JSON library into a standalone

2017-03-17 Thread J. Landman Gay via use-livecode

On 3/17/17 1:16 PM, Jonathan Lynch via use-livecode wrote:

This is in LC 8.1.2.

Can anyone confirm that it is not able to include the JSON functions? Are
there any simple workarounds?


Is there a reason not to use 8.1.3? I remember there was an issue with 
inclusions at some point, so try the latest stable release.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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


Re: JSON library on LC Server

2017-03-09 Thread Devin Asay via use-livecode

On Mar 9, 2017, at 10:31 AM, Devin Asay via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

Can anyone tell me how/if one can use the JSON library from LC 8 on LC Server? 
I’m running Community Server v. 8.1.2 on a Linux server.

I tried just calling JsonExport() in the .lc script, but it errors. Do I have 
to ‘include’ or ‘start using’ the library somehow?

Answered my own question with another google search. Peter B. answered the 
question in this thread a few months back:

http://lists.runrev.com/pipermail/use-livecode/2015-November/221289.html

So here’s what I did:

Opened the LiveCode.app bundle on my Mac.

Navigated to Contents > Tools > Extensions .

Copied the com.livecode.library.json folder to the same folder on the server 
where my test script is.

Included this statement at the beginning of my .lc test script:

load extension from file "com.livecode.library.json/module.lcm”

Works like a champ!

But I wonder if there’s a less fiddly way to do it. Are these LCB libraries 
included in the LC server installation?

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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

JSON library on LC Server

2017-03-09 Thread Devin Asay via use-livecode
Can anyone tell me how/if one can use the JSON library from LC 8 on LC Server? 
I’m running Community Server v. 8.1.2 on a Linux server.

I tried just calling JsonExport() in the .lc script, but it errors. Do I have 
to ‘include’ or ‘start using’ the library somehow?

Thanks!

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
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: How do you include the new JSON library in an iOS app?

2016-05-06 Thread Terry Judd
Thanks Dave, I¹m not sure that I would ever have found that. Works a treat!

TerryŠ

On 6/05/2016 1:59 pm, "use-livecode on behalf of Dave Kilroy"
 wrote:

>Hi, in the Œcopy files¹ tab of the Œstandalone application settings¹
>dialog box you need to select Œcom.livecode.library.json¹
>___
>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: How do you include the new JSON library in an iOS app?

2016-05-05 Thread Dave Kilroy
Hi, in the ‘copy files’ tab of the ‘standalone application settings’ dialog box 
you need to select ‘com.livecode.library.json’
___
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

How do you include the new JSON library in an iOS app?

2016-05-05 Thread Terry Judd
OK – I really like the new JSON library in LC 8, but how do I get it to work in 
iOS? Is there something special I need to do to include it?

Terry…

___
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: JSON library

2015-11-18 Thread Peter Haworth
Thanks Ali, that fixed it.  I'ma little surprised I didn't get a runtime
error in the standalone though - shouldn't it have choked on the jsonImport
command?

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Wed, Nov 18, 2015 at 12:46 AM, Ali Lloyd <ali.ll...@livecode.com> wrote:

> Hi Peter,
> The JSON library is an extension and so you need to include it manually (at
> least at the moment) - you'll need to select com.livecode.library.json in
> the Copy Files pane of the standalone settings.
>
> On Tue, Nov 17, 2015 at 10:55 PM Peter Haworth <p...@lcsql.com> wrote:
>
> > A stack that works fine in the IDE does not work when I make a standalone
> > from it.  In particular, clicking on a scrolling list doesn't have the
> > desired effect.  I think it may be because I'm using the new JSONImport
> > function in my selectionChanged handler.  It's part of the JSON library
> and
> > perhaps the JSON library is not being included in the standalone.
> >
> > I used the default setting to search for inclusions initially.  When I
> try
> > to include specific libraries, the JSON library is not listed as one of
> the
> > options.
> >
> > The above is all pure guesswork of course but should the JSON library be
> > listed as an inclusion option?
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> > ___
> > 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
>
___
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: JSON library

2015-11-18 Thread Peter TB Brett



On 18/11/2015 11:02, Lyn Teyla wrote:

Ali Lloyd wrote:


The JSON library is an extension and so you need to include it manually (at
least at the moment) - you'll need to select com.livecode.library.json in
the Copy Files pane of the standalone settings.



On a somewhat related note, how does one utilize this JSON library (and other 
libraries implemented as extensions) on LiveCode Server?



Currently, you will need to use `load extension` to load the appropriate 
`.lcm` file(s).


 Peter

--
Dr Peter Brett <peter.br...@livecode.com>
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/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: JSON library

2015-11-18 Thread Lyn Teyla
Ali Lloyd wrote:

> The JSON library is an extension and so you need to include it manually (at
> least at the moment) - you'll need to select com.livecode.library.json in
> the Copy Files pane of the standalone settings.


On a somewhat related note, how does one utilize this JSON library (and other 
libraries implemented as extensions) on LiveCode Server?

Lyn



___
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: JSON library

2015-11-18 Thread Ali Lloyd
Hi Peter,
The JSON library is an extension and so you need to include it manually (at
least at the moment) - you'll need to select com.livecode.library.json in
the Copy Files pane of the standalone settings.

On Tue, Nov 17, 2015 at 10:55 PM Peter Haworth <p...@lcsql.com> wrote:

> A stack that works fine in the IDE does not work when I make a standalone
> from it.  In particular, clicking on a scrolling list doesn't have the
> desired effect.  I think it may be because I'm using the new JSONImport
> function in my selectionChanged handler.  It's part of the JSON library and
> perhaps the JSON library is not being included in the standalone.
>
> I used the default setting to search for inclusions initially.  When I try
> to include specific libraries, the JSON library is not listed as one of the
> options.
>
> The above is all pure guesswork of course but should the JSON library be
> listed as an inclusion option?
>
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> ___
> 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


JSON library

2015-11-17 Thread Peter Haworth
A stack that works fine in the IDE does not work when I make a standalone
from it.  In particular, clicking on a scrolling list doesn't have the
desired effect.  I think it may be because I'm using the new JSONImport
function in my selectionChanged handler.  It's part of the JSON library and
perhaps the JSON library is not being included in the standalone.

I used the default setting to search for inclusions initially.  When I try
to include specific libraries, the JSON library is not listed as one of the
options.

The above is all pure guesswork of course but should the JSON library be
listed as an inclusion option?

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
___
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