func (r *Response) DecodeJSON(out interface{}) error {
	return jsonutil.DecodeJSONFromReader(r.Body, out)
}
DecodeJSON will decode the response body to a JSON structure. This
will consume the response body, but will not close it. Close must
still be called.
package api
import (
	"bytes"
	"fmt"
	"io"
	"io/ioutil"
	"net/http"
	"github.com/hashicorp/vault/sdk/helper/jsonutil"
)
type Response struct {
	*http.Response
}