I am receiving a JSON object as :
http.get(options, function(res) { res.on(\'data\', function (chunk) { console.log(\'BODY: \' + chunk);
You should be doing something along the lines of:
http.get(options, function(res){ var data = ''; res.on('data', function (chunk){ data += chunk; }); res.on('end',function(){ var obj = JSON.parse(data); console.log( obj.buck.email ); }) });
If im not mistaken.