TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Avuya Mxoli
NA
236
208.9k
How to access Json object values individually
Jan 13 2014 4:00 AM
Hi all,
I am using facebook graph API to get facebook statuses. The results are a json object which I can deserialize. Now what I want to do is get specific values from the json object to display. I came across tutorials that helped me create classes that match the structure of the json object so I can clearly see the properties etc. but now I want to be able to access them. I tried this: Object statusJson = js.Deserialize<JsonObject>(reader.ReadToEnd()); which gives me a weird error so I am looking for another way to do this.
JsonObject is the class I created which inside it contains other classes that match the returned json object. Let me end here in case I confuse people, feel free to ask for more details.
using c# and asp.net (Visual studio 2012)
Reply
Answers (
3
)
Getting error while debugging code using breakpoint
How to display tooltip from database for dropdownlist items