i thought i could just do JSON.encode(myArray) but it doesn't remove the brackets and breaks the json. This is what i'm using to test this:
var myArray = [{min: 'blah', max: 'blah', bet: 'blah'}];
var setJSON = JSON.encode(myArray);
alert(setJSON);
what's the right way to do something like this?
thanks guys!
