I'm getting location data through the following url: “%7B%22distance%22%3A1000000%2C%22country%22%3A%22BR%22%2C%22city%22%3A%22S%E3o%20Paulo%22%2C% 22latitude%22%3A-23.6283%2C%22longitude%22%3A-46.6409%2C%22region_code%22%3A%22SP%22%7D” . I need to transform this url into a json file but the javascript decode function returns URI Malformed. enter image description here