HubSpot interview question

Read json response from api