Partager via


JsonObject.ConvertToJsonContext Struct

Definition

Context for convert-to-json operation.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct JsonObject.ConvertToJsonContext
[<System.Runtime.CompilerServices.IsReadOnly>]
type JsonObject.ConvertToJsonContext = struct
Public Structure JsonObject.ConvertToJsonContext
Inheritance
JsonObject.ConvertToJsonContext
Attributes

Constructors

JsonObject.ConvertToJsonContext(Int32, Boolean, Boolean, CancellationToken, StringEscapeHandling, PSCmdlet)
JsonObject.ConvertToJsonContext(Int32, Boolean, Boolean, StringEscapeHandling, PSCmdlet, CancellationToken)

Initializes a new instance of the JsonObject.ConvertToJsonContext struct.

JsonObject.ConvertToJsonContext(Int32, Boolean, Boolean)

Initializes a new instance of the JsonObject.ConvertToJsonContext struct.

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