I have a problem with setting data that contains semicolons to CustomActionData property. By default CustomActionData class uses semicolon as DataSeparator and it breaks my
JSON Strings: Chris Painter - who has also answered this question with an older approach - has a blog entry that revolutionizes CustomActionData
handling by using JSON strings
. Now there is no string parsing to do, so far as you use a proper JSON library. Built-in serialization / deserialization: http://blog.iswix.com/2011/10/beam-me-up-using-json-to-serialize.html.
Technically: The technical nitty-gritties would be different depending on language, but JSON strings themselves are simple:
Groups=[{"Name":"Rockers","Description":"People who rock!"}]
You can resurrect an object in deferred mode! Just by calling Serialize
and Deserialize
.