Skip to content

NewtonsoftSerializer.Serialize(T) method

Defined in

Type: NewtonsoftSerializer Namespace: ReactiveMarbles.CacheDatabase.NewtonsoftJson Assembly: ReactiveMarbles.CacheDatabase.NewtonsoftJson.dll

Applies to

netstandard2.0

public byte[] Serialize<T>(T item)

View source

Inherited documentation

These docs were inherited from ISerializer. The member doesn't override them on this type.

Summary: Serializes to an bytes.

Type parameters

NameDescription
TThe type of serialize.

Parameters

NameTypeDescription
itemTThe item to serialize.

Returns: byte[] -- The bytes.