110,534
社区成员
发帖
与我相关
我的任务
分享
struct json
{
public int width;
public int height;
public string realpath;
public int x;
public int y;
public int zindex ;
}
public struct Json
{
int width;
int height;
string realpath;
int x;
int y;
int zindex;
}
Json [][] json = new Json [10][10];
string item = Base64Decode(Request["item"]);
string info = Base64Decode(Request["info"]);
string[] Arrayinfo = info.Split(',');
int key = 0;
int skey = 0;
foreach (string first in Arrayinfo)
{
key++;
if (first != "")
{
string[] s = first.Split(new char[2] { '|','|'});
foreach (string second in s)
{
skey++;
if (second!= "")
{
string[] t = second.Split('|');
foreach (string third in t)
{
string[] f = third.Split(':');
json[key][skey][f[0]] = f[1].ToString();
Response.Write("<br>json["+key+"]["+skey+"]["+f[0]+"] = "+f[1].ToString());
}
}
}
}
}