I'm trying to get data as JSON from service called OpenWeatherMap, so in my componentWillMount method I'm calling fetch() to return data by url. My code for now is:
this.weather = fetch(url).then(response => response.json()).then(responseJson => responseJson);
It works, but returns odd data within JSON response, my JSON response for now is:
{"_40":0,"_65":1,"_55":{here_the_correct_response}}
But I want my response to be without these strange underscore indexes, just pure JSON response