I am attempting to build a script using Google Apps Scripts that will take data inputted in a spreadsheet, and convert it into a specified type of code.
Meaning, data would be inputted into a spreadsheet in Google Drive Spreadsheets, then we would run this script to convert the data that was entered into the spreadsheet into a JSON code file that Roku uses with there Direct Publisher service to create a feed for a Roku app. The plan is to allow people, who do not know how to code a JSON file to be able to input data into the spreadsheet (new content for the Roku Streaming App), and then have a script create the code based on the spreadsheet and update the file that is sent to Roku for the app.
I understand how to code in JSON, but I am not sure how to go about creating a script to take the data in a spreadsheet and convert it to the JSON code format. Any help or ideas??