obj =[{
name: "info.0.field.0.id",
value: "1"
},{
name: "info.0.field.0.name",
value: "jan"
},{
name: "info.0.test",
value: "value"
}...]
怎么解析成:
"info":[
{"field": [{"id": 1,"name":"jan"}] , "test":"value"}
]
微信扫码关注环数云问答社区 公众号