Share via


ConvertToJsonCommand.AsArray Property

Definition

Gets or sets the AsArray property. If the AsArray property is set to be true, the result JSON string will be returned with surrounding '[', ']' chars. Otherwise, the array symbols will occur only if there is more than one input object.

[System.Management.Automation.Parameter]
public System.Management.Automation.SwitchParameter AsArray { get; set; }
[<System.Management.Automation.Parameter>]
member this.AsArray : System.Management.Automation.SwitchParameter with get, set
Public Property AsArray As SwitchParameter

Property Value

Attributes

Applies to