質問編集履歴
1
誤字修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
return jsonObj
|
19
19
|
}
|
20
20
|
func main() {
|
21
|
-
jsonObj := loadJson("/go/test.
|
21
|
+
jsonObj := loadJson("/go/test.json")
|
22
22
|
fmt.Println(jsonObj.(map[string]interface{})["animal"].([]interface{})[0].(map[string]interface{})["name"].(string))
|
23
23
|
}
|
24
24
|
```
|