Share via


AzureCoreExtensions.ToObjectFromJson(BinaryData) Method

Definition

Converts the json value represented by BinaryData to an object of a specific type.

public static object? ToObjectFromJson (this BinaryData data);
static member ToObjectFromJson : BinaryData -> obj
<Extension()>
Public Function ToObjectFromJson (data As BinaryData) As Object

Parameters

data
BinaryData

The BinaryData instance to convert.

Returns

The object value of the json value. If the object contains a primitive type such as string, int, double, bool, or null literal, it returns that type. Otherwise, it returns either an object[] or Dictionary<string, object>. Each value in the key value pair or list will also be converted into a primitive or another complex type recursively.

Applies to