You need to sign in to do that
Don't have an account?
nayana pawar 3
Insert new records in to custom object from json string in salesforce.
I am working with the new JSON Parsing functionality,
I have API URL that contain json string.I have created one VF page that displays JSON string data in pageblock table in record format from API URL.
Now i want to insert that json string into custom object records. How can I insert new records fron json string to my custom object.
I have API URL that contain json string.I have created one VF page that displays JSON string data in pageblock table in record format from API URL.
Now i want to insert that json string into custom object records. How can I insert new records fron json string to my custom object.
You can deserialize the Json string . Visit Below URL to learn more. I can suggest you better if you share your json string.
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_class_System_Json.htm
http://salesforcekings.blogspot.in/2014/09/how-to-convert-json-data-to-list-class.html
http://nanostuffs.com/Blog/?p=1722
Please share if you have any other solution for the same problem
can you pls give me high level code to update custom settings from json file in apex class. Pls let me know.