I am trying to display a specific cryptocurrency's price without the need for curly braces or explicitly stating "USD". Currently, it appears as {"USD":0.4823} when using the following code:
<script>
$(document).ready(function () {
$.getJSON('https://min-api.cryptocompare.com/data/price?fsym=XLM&tsyms=USD',
function (data) {
document.write(JSON.stringify(data));
});
});
</script>
I am having difficulty progressing from this point and have not been able to find relevant solutions in similar questions' answers.