Nested json table

I’m working with the new jsondecode and I’m attempting to analyze a nested json similar to the weather example that was used on the early beta forum a few months ago. I’ve looked through the dev wiki but I can’t quite figure out a nested response.
The response I’m attempting to decode:
“response”: {
“version”: “0.1”,
“termsofService”: “”,
“features”: {
“astronomy”: 1
“moon_phase”: {
“percentIlluminated”: “81”,
“ageOfMoon”: “10”,
“current_time”: {
“hour”: “9”,
“minute”: “56”
“sunrise”: {
“hour”: “7”,
“minute”: “01”
“sunset”: {
“hour”: “16”,
“minute”: “56”

My code so far after the httprequest is:
local weather = http.jsondecode(response.body);

I want to access the “sunrise hour” but I’m not sure on the coding.

Thanks in advance

Try this:
local w = http.jsondecode(res.body); server.log("Sunrise: "+w.moon_phase.sunrise.hour+":"+w.moon_phase.sunrise.minute);

That did it. Thank you so much. I didn’t start the nest from moon_phase. Appreciate your time.