AzureCoreExtensions.ToObjectFromJson(BinaryData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET