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
jucuzoglujucuzoglu 

Can JSON methods be used with wrappers?

I may want to grab and combine information from multiple sources into a wrapper object. Can I use the JSON methods such as Serialize with a wrapper class?

Best Answer chosen by Admin (Salesforce Developers) 
jucuzoglujucuzoglu

I went ahead and created a wrapper ala http://wiki.developerforce.com/page/Wrapper_Class

 

Then I used the JSON serialize function and everything worked so this is possible.