This project has moved and is read-only. For the latest updates, please go here.

How to get key value

Jun 9, 2009 at 7:29 AM


My sample JSON string is as below:

{"8776337":{"text":"Test Message","status":"d","created_time":"1244475327","reply_number":"447624800500","completed_time":"1244475373","credits_cost":"0.4"}}

"8776337" is dynamic key returned by some APIs. I want to get this key value using LINQ to JSON query.


How can I get this key value using LINQ to JSON?


Jun 10, 2009 at 1:10 PM

Can anybody help?

Sep 5, 2010 at 8:16 AM

I'm having the same issue right now. I must be missing something, but as far as I can tell, it's not possible to return the key value for a particular token.