I make a request with Ajax to a web service and this one decuelve an object.
$(document).ready(function () {
$.ajax({
url: "https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=1min&apikey=*******"
}).then(function (data) {
console.log(JSON.stringify(data));
});
});
The object that has a structure similar to the following appears in the console:
{"Meta Data":{"1. Information":"Intraday (1min) prices and volumes","2. Symbol":"MSFT","3. Last Refreshed":"2018-05-30 16:00:00","4. Interval":"1min","5. Output Size":"Compact","6. Time Zone":"US/Eastern"},"Time Series (1min)":{"2018-05-30 16:00:00":{"1. open":"99.0000","2. high":"99.0500","3. low":"98.9100","4. close":"98.9500","5. volume":"2233252"}, ......
The issue is that I do not know how to access, for example, the value of the open field ":" 99.0000 "
What should I do?