function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SB SFDCSB SFDC 

How to insert name and email in custom object from this json response

Hello All,

I have the below json response, need to store email and name field values in a custom object.
(Field_data:[name=email, values=(vsinb@gmail.com)], Field_data:[name=full_name, values=(SherinV)]).
Any idea on this would be of great help to me. Awaiting response.

Thanks in advance
devedeve
Hi SB SFDC,

What you need exactly?
If you want to add email and name field for some custom object then you can insert like this

CustomObject.full_name = SherinV;
CustomObject.email = vsinb@gmail.com;
Raj VakatiRaj Vakati
What i am seeing from the your responce is its an Object and not JSON .. 

You need to convert first it as as Json