我需要转成如下格式
{
student:{
name:"张三",
age:18,
feature:{
weight:80,
hegiht:168
}
}
}
// 原数据格式
var result={
"student.name":"张三",
"student.age":18,
"student.feature.weight":80,
"student.feature.height":168
}