Table of Contents

Method Deserialize

Namespace
Ratatoskr.Serializers.Json
Assembly
Ratatoskr.dll

Deserialize(byte[], Type)

Deserializes a message body to the specified type.

public object? Deserialize(byte[] body, Type targetType)

Parameters

body byte[]
targetType Type

Returns

object

Deserialize<TMessage>(byte[])

Deserializes a message body to the specified type.

public TMessage? Deserialize<TMessage>(byte[] body)

Parameters

body byte[]

Returns

TMessage

Type Parameters

TMessage