SerializationDeserialiseT Method

Car Delivery Network API DocumentationCar Delivery Network
Deserialises the specified serialised object into instance of T

Namespace:  CarDeliveryNetwork.Api.Data
Assembly:  CarDeliveryNetwork.Api.Data (in CarDeliveryNetwork.Api.Data.dll) Version: 3.2.3017.0 (3.2.3017)
Syntax

public static T Deserialise<T>(
	string serialisedObject,
	MessageFormat format,
	IEnumerable<Type> knownTypes = null
)

Parameters

serialisedObject
Type: SystemString
Serialised object
format
Type: CarDeliveryNetwork.TypesMessageFormat
Format that the serialised object
knownTypes (Optional)
Type: System.Collections.GenericIEnumerableType
An System.Collections.Generic.IEnumerable`1 of System.Type that contains the types that may be present in the object graph

Type Parameters

T
Type to deserialise to

Return Value

Type: T
An instance of type T
See Also

Reference