func (api *API) GetJSON(path string, v interface{}) (body []byte, status int, err error) {
	body, status, err = api.Get(path)
	if err != nil {
		return body, status, err
	}

	err = json.Unmarshal(body, &v)
	if err != nil {
		return body, status, err
	}

	return body, status, nil
}
// GetJSON gets JSON result from API
GetJSON gets JSON result from API
// GetJSON gets JSON result from API
func (api *API) GetJSON(path string, v interface{}) (body []byte, status int, err error) {
	body, status, err = api.Get(path)
	if err != nil {
		return body, status, err
	}
	err = json.Unmarshal(body, &v)
	if err != nil {
		return body, status, err
	}
	return body, status, nil
}
func ( api * API ) GetJSON ( path string , v interface { } ) ( body [ ] byte , status int , err error ) { body , status , err = api . Get ( path ) if err != nil { return body , status , err } err = json . Unmarshal ( body , & v ) if err != nil { return body , status , err } return body , status , nil }
GetJSON gets JSON result from API
GetJSON gets JSON result from API