I have a variable like
var column = $(this).attr('class');
I then need to add this variable as the name of a JSON object like so
obj.push({ column : anotherVar });
This outputs "column" instead of my variable. What is the easiest way to convert my variable into a usable string in JSON.