http://jsoniter.com/index.cn.html
https://github.com/json-iterator/go
比较受欢迎的json库:https://github.com/bitly/go-simplejson
func gorequestSimple(){
request := gorequest.New()
_, body, errs := request.Put("http://admin-backend.xin7c.cn/api/users/login").
Set("Content-Type", "application/json").
Send(`{"email":"xin7c@cc.ai", "password":"123456"}`).
End()
if errs == nil{
//fmt.Println("gorequestSimple:", resp)
js, _ := simplejson.NewJson([]byte(body))
fmt.Println("gorequestSimple:",js.Get("data").Get("token").MustString("tokenisnull"))
}
}