开发者

Accessing JSon raw tokens in C#?

My json string looks like { abc: 123, def: 442, ghi=444 } - say stock list.

I dont know what quotes are coming in , i.e I dont know what is abc, def etc is. I need to get th开发者_如何学编程is token dynamically. Any pointers would be of great help !

BTW, this has to run in silverlight.


Take a look at the JsonObject,JsonPrimitive, and JsonArray classes. The static Load method can be used to load the result string into an object that can then be accessed with [] accessors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜