I am using ajax to get the data from the database. After getting data from table I am doing json_encode to get the data in json format. After that I am doing parseJSON to show the data in js.
when I am getting the data in json I just did
data = $.parseJSON(data);
console.log(data);
I got the data like this jQuery object.

From here I want to get the values of firstname.
I tried console.log(data.first_name); but it not worked. It is showing undefined in the console tab. So can someone tell me how to get the first_name value here