Table of Contents

Interface ICarrotSerializer

Namespace
CarrotMQ.Core.Serialization
Assembly
CarrotMQ.Core.dll

Represents a serializer for serializing and deserializing objects.

public interface ICarrotSerializer
Extension Methods

Remarks

Methods

Deserialize<T>(string)

Deserialize object into type T.

T? Deserialize<T>(string dataString)

Parameters

dataString string

Returns

T

Type Parameters

T

Serialize<T>(T)

Serialize object of type T.

string Serialize<T>(T obj) where T : notnull

Parameters

obj T

Returns

string

Type Parameters

T