Select data from json output

I am using wix-fetch to print 3-rd party API data on console:

I just want to store the droplet id into a variable and print it on console. How to achieve this?

I expect it would be something like this:

let droplet = jsonData.droplet.id; 

I would suggest visiting the following sites for information on programming in Javascript:

  • W3 Javascript Tutorial

  • The Modern Javascript Tutorial

  • Information on JSON

Hi, Please provide with some example code as i also need this solution.Thanks in advance.