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
DivyanshD SinghDivyanshD Singh 

Get Label Name corresponding to Trigger.new Values

I have a requirement where i have to push JSON in a specific format where Key should be Field Label and Value should be values in Tigger.new.  
Problem here is the Trigger.new or Trigger.newMap alwayz returns sObject let say Key-API name and their corresponding values.
How do i get Label Name instead of API name corresponding to Trigger.new values ??
Any help would be  appreciated