json.Unmarshal和interface问题请教

eric642 · · 4394 次点击
接口又没有数据,做序列化的意义是什么
#2
更多评论
要先转换成结构体 t3 := t2.(*t1i)
#1
t2是nil,当然无法序列化,首先你要有个实体
#3