You need to sign in to do that
Don't have an account?

JSON Parsing from facebook
Hi guys ,
I need help on JSON parsing
Please find the following JSON Snippet and please try to solve it
Work__c is an object in my org & it is having employee_name__c ,position_name__c ,location_name__c , start_date__c,end_date__c fields
so i need to create multiple work history records from json data
"work": [
{
"employer": {
"id": "184345499708",
"name": "KVP Business Solutions"
},
"location": {
"id": "106377336067638",
"name": "Bangalore, India"
},
"position": {
"id": "112569935464410",
"name": "Salesforce Developer"
},
"start_date": "2013-12-31"
},
{
"employer": {
"id": "150588161629708",
"name": "GSS Infotech"
},
"location": {
"id": "115200305158163",
"name": "Hyderabad, Andhra Pradesh"
},
"position": {
"id": "112569935464410",
"name": "Salesforce Developer"
},
"start_date": "2011-07-01",
"end_date": "2013-11-29"
}
]
I need help on JSON parsing
Please find the following JSON Snippet and please try to solve it
Work__c is an object in my org & it is having employee_name__c ,position_name__c ,location_name__c , start_date__c,end_date__c fields
so i need to create multiple work history records from json data
"work": [
{
"employer": {
"id": "184345499708",
"name": "KVP Business Solutions"
},
"location": {
"id": "106377336067638",
"name": "Bangalore, India"
},
"position": {
"id": "112569935464410",
"name": "Salesforce Developer"
},
"start_date": "2013-12-31"
},
{
"employer": {
"id": "150588161629708",
"name": "GSS Infotech"
},
"location": {
"id": "115200305158163",
"name": "Hyderabad, Andhra Pradesh"
},
"position": {
"id": "112569935464410",
"name": "Salesforce Developer"
},
"start_date": "2011-07-01",
"end_date": "2013-11-29"
}
]
What have you tried so far?