JsonObject.ConvertToJsonContext Struct

Definition

Context for convert-to-json operation.

C#
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct JsonObject.ConvertToJsonContext
Inheritance
JsonObject.ConvertToJsonContext
Attributes

Constructors

Fields

CancellationToken

Gets the cancellation token.

Cmdlet

Gets the target cmdlet that is doing the convert-to-json operation.

CompressOutput

Gets the CompressOutput setting.

EnumsAsStrings

Gets the EnumsAsStrings setting.

MaxDepth

Gets the maximum depth for walking the object graph.

StringEscapeHandling

Gets the StringEscapeHandling setting.

Applies to

Produto Versións
PowerShell SDK 7.2.0, 7.3.0, 7.4.0