Edytuj

Udostępnij za pośrednictwem


OrleansJsonSerializer.Deserialize Method

Definition

Overloads

Deserialize(Type, IDeserializationContext)

Tries to deserialize an item.

Deserialize(Type, String)

Deserializes an object of the specified expected type from the provided input.

Deserialize(Type, IDeserializationContext)

Source:
OrleansJsonSerializer.cs

Tries to deserialize an item.

public object Deserialize (Type expectedType, Orleans.Serialization.IDeserializationContext context);
abstract member Deserialize : Type * Orleans.Serialization.IDeserializationContext -> obj
override this.Deserialize : Type * Orleans.Serialization.IDeserializationContext -> obj
Public Function Deserialize (expectedType As Type, context As IDeserializationContext) As Object

Parameters

expectedType
Type

The type that should be deserialized

context
IDeserializationContext

The context in which the object is being deserialized.

Returns

The deserialized object

Implements

Applies to

Deserialize(Type, String)

Deserializes an object of the specified expected type from the provided input.

public object Deserialize (Type expectedType, string input);
member this.Deserialize : Type * string -> obj
Public Function Deserialize (expectedType As Type, input As String) As Object

Parameters

expectedType
Type

The expected type.

input
String

The input.

Returns

The deserialized object.

Applies to