json() {
		var _this2 = this;

		return consumeBody$6.call(this).then(function (buffer) {
			try {
				return JSON.parse(buffer.toString());
			} catch (err) {
				return Body$6.Promise.reject(new FetchError$6(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
			}
		});
	}
Decode response as json

@return  Promise