I want to convert json to javascript array but its not working,
I tried the follwoing.
var arr = $.map(RatingGrade,function(value){ return value; });
var arr = Object.keys(RatingGrade).map(function(k) { return RatingGrade[k] });//not working on ie8
$.parse()
[{
"RGCode": 61,
"RGCode1": 61,
"ScoreMin": -1,
"ScoreMax": -1,
"GradeNo": "1+",
"GradeName": "Excellent",
"GradeDescription": "Excellent",
"createdby": 23,
"createdon": "/Date(1413970769020)/",
"updatedby": 23,
"updatedon": "/Date(1438628400000)/",
"status": "A",
"ScoreCardID": 1,
"PDLowerBound": 0,
"PDUpperBound": 0.03,
"MidPoint": 0.02,
"MaxPDMinPDDifference": 0.03,
"AveragePD": 0
}
]
how can i do this?also stringfy
also but not working