I've tried to get the values from the JSON object that I made a request from Google APIs. My goal is to get the data from transcript.
This is the JSON file.
{
  "results": [
    {
      "alternatives": [
        {
          "transcript": "how old are you",
          "confidence": 0.66882694
        }
      ]
    }
  ]
}
And I've tried to get the output by using this. But it doesn't work.
var result = ["result"][0]["alternative"][0]["transcript"].ToString()
When I query the data, It doesn't show anything, just empty string.