Hey Nick,
I've run into the same problem after trying to read data, that had been
inserted via .net client 1.3.x, using node.js client. To workaround this
issue we will have to encode the return result in utf 8, followed by
convert that string into a JSON object:
bucket.get( results[ i ].id, function( err, result ) {
...
if ( err ) { throw err; }
var jsonStr = result.value.toString('utf8');
var doc = JSON.parse(jsonStr);
console.log(doc.name);
...
});
Regards
Keng Boon
--
You received this message because you are subscribed to the Google Groups
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.