how to convert string response to json object in javascript code example Example: js string to object JSON.parse()