How to display the key value of a json that is a url , insted of just the url as text?

Viewed 14

enter code hereI am fetching a JSON file using a URL. In my json one of my values is a url link to a dataroom, where my text is stored. When I fetch that key value, I don't get the text, but just the link to the url. How would you solve this issue? I am working with js

  fetchJSON(
      "url"
    ).then((dataAppsHighlights) => {
      newsletterweekly.dataAppsHighlights = {
        HighComm: dataAppsHighlights[0].HIGHLIGHTS,
      };
      newsletterweekly.loadAppHighlights();
    });
  },
  loadAppHighlights: function () {
    $("#Highlights").html(newsletterweekly.dataAppsHighlights.HighComm);
  },
};
The Json format 
[
  {
    "day": "21/09/2022",
    "person": "Daniel",
    "HIGHLIGHTS": "https://dummyjson.com/carts"
  }
]

0 Answers
Related