Pulling data from CRM into Creator using searchRecords
I'm trying to build a Creator application that will update CRM data using zoho.crm.updateRecord method. For this method I need the ID, and I am having trouble finding a good way of getting the ID of an existing record. I have tried using zoho.crm.searchRecords with the Email as a criteria, but I do not know how to then extract a specific segment of the response. Here's what the code looks like. I just don't know what to set CRM_ID to to get only a part of Record.
Record = zoho.crm.searchRecords("Leads", "(Email|=|test)");
CRM_ID = ???;
This is what Record looks like when converted to a string:
{"Street":"test","Phone":"test","LEADID":"value I want","Created By":"blank","MODIFIEDBY":"0000","SMOWNERID":"0000","Last Activity Time":"2014-09-24 14:57:27","Email Opt Out":"false","SMCREATORID":"0000","Zip Code":"test","Lead Owner":"blank","Country":"USA","City":"test","Email":"test","State":"test","Created Time":"2014-09-24 14:57:27","Modified By":"blank","Last Name":"test","Modified Time":"2014-09-24 14:57:27"}
How do I go about extracting an element of this record now?
Thank you,