今天遇到了 json 数据文件,需要对单一属性值进行提取,可以使用 excel 的 mid 函数以及 find 函数进行
比如:
{
"system_ename": "ttye",
"prize_img": "http://q-cdn.mtq.tvm.cn/ftp/hb.png",
"topicname": "ttye_danmu",
"msgtimefen": 201702240303000,
"type": "hongbao",
"message_score": 56,
"danmutype": "app",
"entrance": "app",
"timestamp": 1487876600568,
"tvmid": "wxh5857ac55ef488f7f2b2920cb"
}
如果要提取 tvmid 的值,则使用函数 mid(A1,find("tvmid",A1,1)+8,27)进行提取,具体的使用方法可自行百度