I have an array of objects that contains value pairs. I want to be able to access a value like this
myArray.code or myArray[0].code
but it s