function to parse the given data by its inside value js code example
Example: js string to json
var obj = JSON.parse("{no:'u',my:'sql'}");//returnes {no:'u',my:'sql'}
var obj = JSON.parse("{no:'u',my:'sql'}");//returnes {no:'u',my:'sql'}