How can I access values from multidimen array in lua?
snippet in lua

How can I access values from multidimen array in lua?

user5493

k = {
  messageCode = 200,
  result = {
    data = {
      {
        id = 7,
        language = "Hindi"
      },
      {
        id = 8,
        language = "Tamil"
      }
    }
  }
}
print(k.result.data[1].language)
print(k.result.data[2].language)