Tag: Salesforce Apex
-
Parsing JSON response in LWC
Example 1: Parsing JSON from an Apex Controller Apex Controller (ExampleController.cls) LWC JavaScript (exampleComponent.js) Example 2: Parsing JSON from a REST API Response If you’re making a REST API call using fetch(), here’s how to handle the response: Example 3: Parsing Nested JSON If the JSON response is nested, you can access the values like…
-
Apex Salesforce Winter Release 21
We are going to go through all the apex update in release 21. its excited to see some best update from Salesforce this time and it will be reduce code size and complexity. Salesforce provide some new way to express null pointer exception. We can send custom notification using Messaging.CustomNotification class. The Database.deleteImmediate()support batch deletes…
