Share via


TestJsonCommand.Json Property

Definition

Gets or sets JSON string to be validated.

[System.Management.Automation.Parameter(Mandatory=true, Position=0, ValueFromPipeline=true)]
public string Json { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonString", Position=0, ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonStringWithSchemaString", Position=0, ValueFromPipeline=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonStringWithSchemaFile", Position=0, ValueFromPipeline=true)]
public string Json { get; set; }
[<System.Management.Automation.Parameter(Mandatory=true, Position=0, ValueFromPipeline=true)>]
member this.Json : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonString", Position=0, ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonStringWithSchemaString", Position=0, ValueFromPipeline=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonStringWithSchemaFile", Position=0, ValueFromPipeline=true)>]
member this.Json : string with get, set
Public Property Json As String

Property Value

Attributes

Applies to