Project Details
  (2.0 Reviews)
sObject Serialization

Project Owner: Simon Goodyear

Created: June 09 2011

Description

Born out of the desire to pass an sObject to a @future annotated method this project aims to provide means to serialize/deserialize sObjects.

Passing a series of primitive type fields or a list of Ids to a @future method can be a bit cumbersome. Using serialization allows you to effectively pass the object to the method in one parameter. There are some limitations to this method such as not being able to deserialize non-updateable fields. However even with the limitations this provides a viable, useful alternative approach to the problem.

Currently the project consists of two serialization methods; one based on the string.valueOf() function and another that works with JSON.

Development Team
The project owner is currently the only member of the development team.
Reviews - Showing 2 of 2
5 stars
(by jaya kumarsfdc2 on Thu Aug 09 10:30:28 GMT 2012)
share code with me

4 stars
(by Kartik Viswanadha on Fri Aug 05 13:29:38 GMT 2011)
Good Code Share. But definitely needs some changes to allow the Custom Objects with Namespace prefixes to work. Currently the code is not deserializing the Custom Objects with namespaces.


Tags