Hi Everyone,
i need some help how can i save this jsonfile to my folder {where i have my code’s}?
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'])
setLaneState("lane3",initialstate[0]['lane 3'])
setLaneState("lane4",initialstate[0]['lane 4'])