JsonData.FromBytes Method

Definition

Overloads

FromBytes(ReadOnlyMemory<Byte>)

Parses text representing a single JSON value into a JsonData.

FromBytes(Byte[])

Parses text representing a single JSON value into a JsonData.

FromBytes(ReadOnlyMemory<Byte>)

Parses text representing a single JSON value into a JsonData.

public static Azure.Core.JsonData FromBytes (ReadOnlyMemory<byte> utf8Json);
static member FromBytes : ReadOnlyMemory<byte> -> Azure.Core.JsonData
Public Shared Function FromBytes (utf8Json As ReadOnlyMemory(Of Byte)) As JsonData

Parameters

utf8Json
System.ReadOnlyMemory<System.Byte>

A UTF8 encoded string representing a JSON value.

Returns

JsonData

A JsonData representation of the value.

Applies to

FromBytes(Byte[])

Parses text representing a single JSON value into a JsonData.

public static Azure.Core.JsonData FromBytes (byte[] utf8Json);
static member FromBytes : byte[] -> Azure.Core.JsonData
Public Shared Function FromBytes (utf8Json As Byte()) As JsonData

Parameters

utf8Json
System.Byte[]

A UTF8 encoded string representing a JSON value.

Returns

JsonData

A JsonData representation of the value.

Applies to