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
Ramakrishnan AyyanarRamakrishnan Ayyanar 

how to parse json Children items in Apex Class?

I need how to parse json Children items with any example
James LoghryJames Loghry
Take a look at json2apex.  Here's a link: http://json2apex.herokuapp.com/.

The "application" generates an Apex class, from which you can serialize / deserialize to/from JSON.

The Apex class will contain a parse method as well, so you can deserialize the JSON to your Apex class by calling the parse method.  It handles both sibling attributes and children attributes well.
Balaji BondarBalaji Bondar