I need help with defining and sending a JSON object array. While I've managed to define a single JSON object, convert it into a string, and send it, I'm stuck on how to do the same for an array of objects. It seems like there might be a simple solution that I'm missing...
var myColumnSetting = {
"ColumnName": name,
"ColumnIndex": index
}
To convert it to a string, use the following code:
var myJSONText = JSON.stringify(myColumnSetting, false);