File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
reference/6/Microsoft.PowerShell.Utility Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,22 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml
33keywords : powershell,cmdlet
44locale : en-us
55Module Name : Microsoft.PowerShell.Utility
6- ms.date : 01/14 /2019
6+ ms.date : 03/22 /2019
77online version : http://go.microsoft.com/fwlink/?LinkId=821753
88schema : 2.0.0
99title : ConvertFrom-Json
1010---
11+
1112# ConvertFrom-Json
1213
1314## SYNOPSIS
15+
1416Converts a JSON-formatted string to a custom object or a hash table.
1517
1618## SYNTAX
1719
1820```
19- ConvertFrom-Json [-InputObject] <String> [-AsHashtable] [<CommonParameters>]
21+ ConvertFrom-Json [-InputObject] <String> [-AsHashtable] [-Depth <Int32>] [ <CommonParameters>]
2022```
2123
2224## DESCRIPTION
@@ -129,6 +131,23 @@ Accept pipeline input: False
129131Accept wildcard characters : False
130132` ` `
131133
134+ ### -Depth
135+
136+ Gets or sets the maximum depth the JSON input is allowed to have.
137+ By default, it is 1024.
138+
139+ ` ` ` yaml
140+ Type : Int32
141+ Parameter Sets : (All)
142+ Aliases :
143+
144+ Required : False
145+ Position : Named
146+ Default value : None
147+ Accept pipeline input : False
148+ Accept wildcard characters : False
149+ ` ` `
150+
132151### -InputObject
133152
134153Specifies the JSON strings to convert to JSON objects. Enter a variable that contains the string,
@@ -182,4 +201,4 @@ The `ConvertFrom-Json` cmdlet is implemented using [Newtonsoft Json.NET](https:/
182201
183202[Invoke-WebRequest](Invoke-WebRequest.md)
184203
185- [Invoke-RestMethod](Invoke-RestMethod.md)
204+ [Invoke-RestMethod](Invoke-RestMethod.md)
You can’t perform that action at this time.
0 commit comments