[
{
"result": "s2h",
"ha": "7ba5ca9ed2903217482b46"
}
]
.done(function( answer ) {
var data = JSON.parse(answer);
console.log(answer.result)
console.log(data['result']);
console.log(data.result);
})
.done(function( answer ) {
var data = JSON.parse(answer[0]);
console.log(answer[0].result)
console.log(data['result']);
console.log(data.result);
})
.done(function( answer ) {
if (!(!!!answer || !!!answer.length || answer.length <=0))
return;
for(let i=0; i<answer.length, i++)
{
var data = JSON.parse(answer[i]);
console.log(answer[i].result)
console.log(data['result']);
console.log(data.result);
}
})