I have similar problem like RedDragon, my data looks like this:
{"Question": [{"Sentence": "It is over there.","RightWord": "there"},{"Sentence": "Mr. Smith went to Washington.","RightWord": "Mr. Smith"},{"Sentence": "Hi my name is Jake.","RightWord": "hi"},{"Sentence": "We celebrate Christmas.","RightWord": "Christmas"},{"Sentence": "He wanted to climb Mt. Everest.","RightWord": "Mt. Everest"},{"Sentence": "I'm hungry.","RightWord": "I'm"}]}
But I am not able to iterate through it as I do not know the length. Only way I can think about is to use Hash.AtKeys("Question", i, "Sentence") and loop through i and check for null.
Do you think there is a better way ?
-Thanks