Skip to content

SerializeToUtf8Bytes Method ​

Definition ​

  • Namespace: JASE.Serializers
  • Assembly: JASE.Serializers.dll

Overloads ​

NameDescription
byte[] SerializeToUtf8Bytes(object input, JsonSerializerOptions options = null)Returns JSON string converted to a UTF-8 byte[]
byte[] SerializeToUtf8Bytes(object input, Type type, JsonSerializerOptions options = null)Returns JSON string converted to a UTF-8 byte[]

byte[] SerializeToUtf8Bytes(object input, JsonSerializerOptions options = null) ​

csharp
byte[] SerializeToUtf8Bytes(object input, JsonSerializerOptions options = null)

Returns JSON string converted to a UTF-8 byte[]

Returns ​

UTF-8 encoded Byte[]

byte[] SerializeToUtf8Bytes(object input, Type type, JsonSerializerOptions options = null) ​

csharp
byte[] SerializeToUtf8Bytes(object input, Type type, JsonSerializerOptions options = null)

Returns JSON string converted to a UTF-8 byte[]

Returns ​

UTF-8 encoded Byte[]