I'm really struggling with what I think is a basic function of this component. I'm reading some facebook data into a string and have created a JsonTextReader. I want to be able to get to the data inside the string that is in JSON format.
I can use .read to iterate through the data - and I know its full of data as it iterates the correct number of times, however I can't figure out how to just get the data out cleanly. As an example there is a element in the data called "name"
which oddly enough holds a name, like "John Smith". I'm expecting to be able to iterate through the data using one read after another and then evaluate some property to be able to see if it's the "name" element.
But... I just can't see what 'thing' i'm supposed to evalauate to see this data. Can anyone help?
There is a.value propert - however the data in that element is complex and contains descriptors and property names and the actual data all in a big ugly string. Any ideas? Surely this is the easy part, right?