dotmailer SDK
Tools to access and manage an account in the dotMailer system
|
dotMailer.Sdk.SerialisationFactory Class Reference
Class that deals with the serialisation of the objects and collections More...
Public Member Functions | |
string | Serialise (IDmObject dmObject, SerialisationType serialisationType) |
Takes a IDmObject and serialises it to a string depending on the specified serialisation type | |
IDmObject | Deserialise (string inputString, SerialisationType serialisationType) |
Takes a string, and rebuilds the IdmObject that generated the string | |
Detailed Description
Class that deals with the serialisation of the objects and collections
Member Function Documentation
IDmObject dotMailer.Sdk.SerialisationFactory.Deserialise | ( | string | inputString, |
SerialisationType | serialisationType | ||
) |
Takes a string, and rebuilds the IdmObject that generated the string
- Parameters
-
inputString the serialised data serialisationType Xml or Json
- Returns
- IDmObject
string dotMailer.Sdk.SerialisationFactory.Serialise | ( | IDmObject | dmObject, |
SerialisationType | serialisationType | ||
) |
Takes a IDmObject and serialises it to a string depending on the specified serialisation type
- Parameters
-
dmObject Object to serialise serialisationType Xml or Json output
- Returns
- UTf8 string
Generated by 1.8.3