How to make LiveCode multidimensional array contents available to Javascript?

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Mon Jul 18 06:41:41 EDT 2011


...whoops, forgot to ask whether JSON is one of the options I should be researching.
Best,
Keith.. 

On 18 Jul 2011, at 11:35, Keith Clarke wrote:

> Hi folks,
> I have a LiveCode array that contains interesting intranet web site page navigation and page-specific parameters - that I can pass into a revBrowser 'hosted' within my local stack.
> 
> It's now time to test this resource with users who can't use revlets. Security implications mean that it's not practical in the short-term to turn the array into some kind of web service on my VPS or on-rev server. So, I'm thinking to FTP this array data back to the intranet server as some kind of static resource so that Javascript can access its contents from within standard browser pages.
> 
> What are the options for packaging-up the LiveCode multi-dimensional array for easy access via Javascript? Is there some kind of binary 'array' file type standard that both languages understand or do I have to use text/XML files or similar?
> 
> Any insights or research links would be much appreciated.
> Best,
> Keith..





More information about the use-livecode mailing list