Error in passing jsonValue(include escape characters) to parseJSON
My Json ouput is :
[{"Name":"
Test'
","Phone":"9000000010"},{"Name":"Test'","Phone":"9
000000010"}]
Name contains Name+'
I am passing this result to
parseJSON, it throws unexpected string error.If any one help to get this answer.Its urgent.
My code :
var result = $.parseJSON('{!
result
}');