javascript how to convert string to jsonvalue code example Example: json_decode javascript JSON.parse(jsonToDecode)