Activity › Forums › Salesforce® Discussions › How to deserialize JSON in Apex in Salesforce? Salesforce® Discussions How to deserialize JSON in Apex in Salesforce? Posted by Anjali on January 27, 2021 at 2:40 PM How to deserialize JSON in Apex in Salesforce? Aditya replied 5 years, 3 months ago 2 Members · 1 Reply 1 Reply Aditya Member February 2, 2021 at 6:52 AM suggest you paste your JSON into http://json2apex.herokuapp.com/ and try the generated code. This tool generates simple Apex classes with a field per JSON field and then you can parse with a single JSON. deserialize call. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me