function parse(obj){ var str = JSON.stringify(obj); var dataObj = str.replace(/Name/g, "name"); var dataObj1 = dataObj.replace(/Value/g, "value"); var data = JSON.parse(dataObj1); return data; }
function parse(obj){ var str = JSON.stringify(obj); var dataObj = str.replace(/Name/g, "name"); var dataObj1 = dataObj.replace(/Value/g, "value"); var data = JSON.parse(dataObj1); return data; }