JSONの処理 JSONを扱う場合encoding/jsonを使う。Goの場合、JSONデータを定義した構造体に入れるのが一般的。 JSONの解析 { "id": 1, "name": "nana", "birthday": "08-16", "vivid_info": { "color": "red", "weapon": "Rang" } } type Person struct { ID int `json:"id"` Name string `json:"name"` Birthday string `json:"birthday"` VividInfo struct { Color string `json:"color"` Weapon string `json:"weapon"` } `json:"vivid_info"` }