I have a JSON string(?) that I have returned from $.ajax() and named it data. Some of the values are empty and I need to
JSON
string(?)
$.ajax()
data
var temp = data.oldKey; // or data['oldKey'] data.newKey = temp; delete data.oldKey;