Class Utf8JsonDaprSerializer
Inheritance
object
Utf8JsonDaprSerializer
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Dapr
Assembly: Volo.Abp.Dapr.dll
Syntax
public class Utf8JsonDaprSerializer : IDaprSerializer, ITransientDependency
Constructors
Utf8JsonDaprSerializer(IJsonSerializer)
Declaration
public Utf8JsonDaprSerializer(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(string, Type)
Declaration
public object Deserialize(string value, Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | |
| System.Type | type |
Returns
| Type | Description |
|---|---|
| object |
Serialize(object)
Declaration
public byte[] Serialize(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| byte[] |