This will probably be easy, but I need to access the values in this JSON object. I have no idea how. Here's the object:
{
"COLUMNS": ["NAME"],
"DATA": [["YOUNG, MARIA "]]
}
I was hoping "obj.NAME" would do it, but it says it's undefined. Here's my AJAX call:
$.ajax({
//this is the php file that processes the data and send mail
url: 'components/Person.cfc',
//GET method is used
type: "POST",
//pass the data
data: {
method: "getGroup",
uid: $('#cardText').val()
},
success: function(response) {
var obj = $.trim(response);
var obj = jQuery.parseJSON(obj);
$('#form_result').html(obj.NAME);
},