+ Start a Discussion
rahulsharmarahulsharma 

Creating JSON format Data.

Hello guys,

 

I am able to created JSON data from records.

Can we create JSON data for parent child relation(records) dynamically using apex.

 

Thanks in advance.

joshbirkjoshbirk

There isn't a JSON parser in Apex at the moment.  You may want to check out the REST API, or perhaps looking at the JavaScript Remoting developer trial.  You can send me an email with your org ID for the latter (email can be found in my username link).