+ Start a Discussion

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) 

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.