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
Nitish Singh 22Nitish Singh 22 

Deserialize JSON to Contact Object

I am getting JSON as response of JS function in the vf page like this   :

{  "channel": "/topic/RefreshAccountsCheck",  "clientId": "4o19aelk6nsydgk1c90dh1plapd",  "data": {    "event": {      "type": "created",      "createdDate": "2017-05-08T13:02:28.000+0000"    },    "sobject": {      "Id": "001g000001gaFxgAAE",      "Name": "KIMISON SWIFT NW"    }  } }

I want to initialize this to a Contact SObject .

Any leads would be appreciated