SystemJsonSerializer.Serialize(T) method¶
Defined in
Type: SystemJsonSerializer
Namespace: ReactiveMarbles.CacheDatabase.SystemTextJson
Assembly: ReactiveMarbles.CacheDatabase.SystemTextJson.dll
Applies to
netstandard2.0
public byte[] Serialize<T>(T item)
Inherited documentation
These docs were inherited from ISerializer. The member doesn't override them on this type.
Summary: Serializes to an bytes.
Type parameters
| Name | Description |
|---|---|
T | The type of serialize. |
Parameters
| Name | Type | Description |
|---|---|---|
item | T | The item to serialize. |
Returns: byte[] -- The bytes.