先把excel的文件读出来,转化为Json结构。注:第一行标题作为key,其它行作为value,具体参考demo
Sheet1 = (
{
"\U626b\U63cf\U65e5\U671f" = "2017-06-06 18:40:18";
"\U6536/\U6d3e\U4ef6\U5458" = "\U6c49\U5370";
"\U7b7e\U6536\U7701\U4efd" = "\U5b89\U5fbd\U7701";
"\U7eed\U91cd" = "2.5";
"\U8ba1\U8d39\U91cd\U91cf" = "0.2";
"\U8d39\U7528" = 6;
"\U8fd0\U5355\U7f16\U53f7" = 719819806047;
"\U9996\U91cd" = 6;
},
{
"\U626b\U63cf\U65e5\U671f" = "2017-06-21 19:49:54";
"\U6536/\U6d3e\U4ef6\U5458" = "\U6c49\U5370";
"\U7b7e\U6536\U7701\U4efd" = "\U798f\U5efa\U7701";
"\U7eed\U91cd" = 2;
"\U8ba1\U8d39\U91cd\U91cf" = "1.3";
"\U8d39\U7528" = 8;
"\U8fd0\U5355\U7f16\U53f7" = 535053121266;
"\U9996\U91cd" = 6;
}
);