How can I access field 1 value from this dictionary by using java script?

var x = {
  "channel": {
    "latitude": "0.0",
    "longitude": "0.0",
    "field 1": "Y"
  }
}

console.log(x["channel"]["field 1"])

Leave a Comment