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
ramesh babu 114ramesh babu 114 

How to read JSON in your class?

How to read JSON in your class?
NagendraNagendra (Salesforce Developers) 
Hi Ramesh,

Apex has 3 inbuilt class and one Enum to solve any JSON related problem.
Apex classes namely JSON, JSONGenerator, JSONParser,
JSONToken (Enum)

To know detail about above method and enum you can check below links where Salesforce has given some small examples that you can understand and implement accordingly.
Here on a link which will convert JSON to apex, it may help !!
Let us know if it helps !!

Kindly mark this as solved if it's resolved.

Thanks,
Nagendra