This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Download file .lp of logic machine automatic
#5
Hello
I want to download the .json, change the code from .csv to .json



Quote:
Code:
require('json')

objects=grp.all()
objects= json.encode(objects)




io.writefile("/www/user/page.lp", objects)

shows me a .json as in the following image


this file I want to download from time to time

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
RE: Download file .lp of logic machine automatic - by Carlos Padilla - 11.09.2017, 16:47

Forum Jump: