I have XMLHttpRequest() function given below
XMLHttpRequest()
var searchFriendRequests = function (userid) { var xhr = new XMLHttpRequest(); xhr.open(\'G
For sometime now you can use:
xhr.responseJSON
without any parsing needed. hope it helps