I have the following JSON data:
“latitude”:46.41057,
“longitude”:-63.18406,
“timezone”:“America/Halifax”,
“currently”:{ },
“hourly”:{ },
“daily”:{
“summary”:“Snow (1018 cm.) on Tuesday through next Saturday, with temperatures rising to 5°C next Saturday.”,
“icon”:“snow”,
“data”:[
{
“time”:1513396800,
“summary”:“Mostly cloudy throughout the day and breezy starting in the evening.”,
“icon”:“wind”,
“sunriseTime”:1513425104,
“sunsetTime”:1513456077,
“moonPhase”:0.95,
data is an array, so my code starts off as:
DIM MoonPhaseVAR AS DOUBLE = js.Child(“daily”).Child(“Data”).
Then I’m stumped on how to complete it. I want the first instance in the array of moonphase but can’t seem to figure it out