开发者

String Manipulation in C#: deserialize JSON

Can I use a string function in C# to manipulate this string;

"[{\"param开发者_Go百科\":\"Update Payment\",\"value\":\"50.00\"}]"

I want to get at all times the string in position "Update Payment" as well as the value in "50.00"


Since this appear to be JSON why don't you use a JSON deserializer ? http://james.newtonking.com/pages/json-net.aspx for example.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜