i need some help how can i save this jsonfile to my folder where i have my code.
this is the path C:\Users\robin\Downloads\xampp\htdocs\bob
my code
// Load initial values from JSON 'file'
jsonfile = '[{"lane 1":"1","lane 2":"1","lane 3":"5","lane 4":"2"}]';
var initialstate = JSON.parse(jsonfile);
setLaneState("lane1",initialstate[0]['lane 1'])
setLaneState("lane2",initialstate[0]['lane 2'])...
Code (JavaScript):
from JavaScript https://ift.tt/2WMi1ok
via IFTTT

0 Comments