```go
package main
import (
"fmt"
"encoding/json"
)
type jsonA struct {
Aio int `json: "a_iou"`
Bio string `json: "b_iou"`
}
func main() {
var ja jsonA
body := "{\"a_iou\": 6, \"b_iou\": \"welcome\"}"
err := json.Unmarshal([]byte(body), &ja)
if err != nil {
fmt.Println(err)
}
fmt.Println(ja)
}
```
这竟然解析不出来,请各位大佬帮忙看看为啥?
```go
type jsonA struct {
Aio int `json: "a_iou"`
Bio string `json: "b_iou"`
}
```
中,json: 后面多了个空格
#1