function getJson(url, params, headers) {
		if (typeof url !== 'string') throw Error('url must be a string');

		if ((0, _lodash4.default)(params)) {
			if (url.indexOf('?') === -1) url = url + '?';
			url += serializeObject(params);
		}
		return newRequest({ url: url, method: 'GET', responseContentType: 'json', headers: headers });
	}
function getJson(url, params, headers) {
		if (typeof url !== 'string') throw Error('url must be a string');

		if ((0, _lodash4.default)(params)) {
			if (url.indexOf('?') === -1) url = url + '?';
			url += serializeObject(params);
		}
		return newRequest({ url: url, method: 'GET', responseContentType: 'json', headers: headers });
	}
function getJson ( url , params , headers ) { if ( typeof url !== 'string' ) throw Error ( 'url must be a string' ) ; if ( ( 0 , _lodash4 . default ) ( params ) ) { if ( url . indexOf ( '?' ) === - 1 ) url = url + '?' ; url += serializeObject ( params ) ; } return newRequest ( { url : url , method : 'GET' , responseContentType : 'json' , headers : headers } ) ; }
/*
/ *