I am using memcached node js client. I am not getting the JSON output when 
performing the get operation on it. Here is my code

memcached.get(id, function( err, result ){
  if( err ) console.error( err );
  console.log( result );
});
and the output is 

a:2:{s:7:"passkey";s:40:"8c779538d8c4ed54cf8a89d1e59518557febf0ac";s:7:"userkey";s:7:"5b9ce84";}
How to get the userkey from this output or how to get the output as json?

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/ec3b1c78-ca68-4f95-bd1e-f1e410bc93fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to