I have a response coming back to my client that is in a javascript format. I have a table that I'm loading that expects the field names to be cased a specific way. Is it possible to map a key in the json to an field name in the json object?
Here is what I'm doing now:
this.resArray = Array;
this.results = new this.resArray(); // This object is using Phone, not phone
var dataFromServerJSON = $.parseJSON(dataFromServer); // dataFromServer has phone:3127789342
$.merge(app.Client.view.results, dataFromServerJSON)