C#使用php数组

时间:2013-03-12 20:47:48

标签: c#

我正在使用API​​返回一些包含许多项目的数组:

s:7:"members";
    a:37:
        {
        i:0;
        a:7:
        {
            s:4:"h_id";s:4:"9352";
            s:6:"h_name";
            s:6:"Name";
            s:7:"h_level";
            s:2:"14";
            s:8:"c_status";
            s:5:"Wild";
            s:8:"p_status";
            s:0:"";
            s:8:"h_online";
            s:1:"1";
            s:12:"u_last_visit";
            s:10:"1363069620";
            }
        };

有没有办法在c#中使用这个集合轻松工作?或者它只能用正则表达式解析?

0 个答案:

没有答案