Share via


DaprComponent.FromJsonString(String) Method

Definition

Creates a new instance of DaprComponent, deserializing the content from a json string.

public static Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprComponent FromJsonString (string jsonText);
static member FromJsonString : string -> Microsoft.Azure.PowerShell.Cmdlets.App.Models.IDaprComponent
Public Shared Function FromJsonString (jsonText As String) As IDaprComponent

Parameters

jsonText
String

a string containing a JSON serialized instance of this model.

Returns

an instance of the DaprComponent model class.

Applies to