Update 07.2.md
This commit is contained in:
@@ -65,7 +65,7 @@ JSON(Javascript Object Notation)是一种轻量级的数据交换语言,
|
||||
var f interface{}
|
||||
err := json.Unmarshal(b, &f)
|
||||
|
||||
这个时候f里面存储了一个map类似,他们的key是string,值存储在空的interface{}里
|
||||
这个时候f里面存储了一个map类型,他们的key是string,值存储在空的interface{}里
|
||||
|
||||
f = map[string]interface{}{
|
||||
"Name": "Wednesday",
|
||||
|
||||
Reference in New Issue
Block a user