How to get key value

Jun 9, 2009 at 6:29 AM

Hi,

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?

Regards,
Haidar

Jun 10, 2009 at 12:10 PM

Can anybody help?

Sep 5, 2010 at 7: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.