Sample Code:
String strJSON;
strJSON = JSON.serialize(listJSONWrapper);
here listJSONWrapper can be wrapper class list or sObject list.
Cheers!!!
String strJSON;
strJSON = JSON.serialize(listJSONWrapper);
here listJSONWrapper can be wrapper class list or sObject list.
Cheers!!!
No comments:
Post a Comment