JsonObject Methods ConvertFromJson ConvertToJson JsonObject.ConvertToJsonContext Language MatchInfo MatchInfoContext MeasureCommandCommand MeasureInfo MeasureObjectCommand MemberDefinition ModuleCmdletBase Modul
TheJsonObjectcontainer to serialize this object into. If the caller passes innull, a new instance will be created and returned to the caller. serializationMode SerializationMode Allows the caller to choose the depth of the serialization. SeeSerializationMode. ...
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...
JsonObject.ConvertToJsonContext(Int32, Boolean, Boolean) Initializes a new instance of the JsonObject.ConvertToJsonContext struct. JsonObject.ConvertToJsonContext(Int32, Boolean, Boolean, StringEscapeHandling, PSCmdlet, CancellationToken) Initializes a new instance of the JsonObject.ConvertToJ...
JSON 标准允许重复键名称,但在PSObject和哈希表类型中是禁止的。 例如,如果 JSON 字符串包含重复键,则此 cmdlet 仅使用最后一个键。 请参阅以下示例。 若要从任何对象生成 JSON 字符串,请使用ConvertTo-Jsoncmdlet。 PowerShell 3.0 中引入了此 cmdlet。
JSON 标准允许重复键名称,但在PSObject和哈希表类型中是禁止的。 例如,如果 JSON 字符串包含重复键,则此 cmdlet 仅使用最后一个键。 请参阅以下示例。 若要从任何对象生成 JSON 字符串,请使用ConvertTo-Jsoncmdlet。 PowerShell 3.0 中引入了此 cmdlet。
对于 JavaScript 对象表示法 (JSON) 或 XML,PowerShell 将内容转换或反序列化为 [pscustomobject] 对象。 JSON 数据中允许注释。 备注 当REST 终结点返回多个对象时,对象将作为数组接收。 如果将来自 Invoke-RestMethod 的输出通过管道传递给另一个命令,则会将其作为单个 [Object[]] 对象发送。 该数组的内容不...
Compare-Object ConvertFrom-CliXml ConvertFrom-Csv ConvertFrom-Json ConvertFrom-Markdown ConvertFrom-SddlString ConvertFrom-StringData ConvertTo-CliXml 转换为CSV ConvertTo-Html ConvertTo-Json ConvertTo-Xml Debug-Runspace Disable-PSBreakpoint Disable-RunspaceDebug Enable-PSBreakpoint Enable-RunspaceDebug Export-...
Cmdlets.Aks.Runtime.Json Assembly: Az.Aks.private.dll C# Kopija public Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode ToJson(object value); Parameters value Object Returns JsonNode Applies to ProduktasVersijos Azure - PowerShell Commands 13.5.0, 12 (LTS), Latest...
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...