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