Class Utf8JsonRabbitMqSerializer
Inheritance
object
Utf8JsonRabbitMqSerializer
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.RabbitMQ
Assembly: Volo.Abp.RabbitMQ.dll
Syntax
public class Utf8JsonRabbitMqSerializer : IRabbitMqSerializer, ITransientDependency
Constructors
Utf8JsonRabbitMqSerializer(IJsonSerializer)
Declaration
public Utf8JsonRabbitMqSerializer(IJsonSerializer jsonSerializer)
Parameters
| Type | Name | Description |
|---|---|---|
| IJsonSerializer | jsonSerializer |
Methods
Deserialize(byte[], Type)
Declaration
public object Deserialize(byte[] value, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | value | |
| System.Type | type |
Returns
| Type | Description |
|---|---|
| object |
Deserialize<T>(byte[])
Declaration
public T Deserialize<T>(byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | value |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
Serialize(object)
Declaration
public byte[] Serialize(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| byte[] |