diff --git a/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md b/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md index 418f717a8d60..5b96dc55046e 100644 --- a/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md +++ b/reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Json.md @@ -3,20 +3,22 @@ external help file: Microsoft.PowerShell.Commands.Utility.dll-Help.xml keywords: powershell,cmdlet locale: en-us Module Name: Microsoft.PowerShell.Utility -ms.date: 01/14/2019 +ms.date: 03/22/2019 online version: http://go.microsoft.com/fwlink/?LinkId=821753 schema: 2.0.0 title: ConvertFrom-Json --- + # ConvertFrom-Json ## SYNOPSIS + Converts a JSON-formatted string to a custom object or a hash table. ## SYNTAX ``` -ConvertFrom-Json [-InputObject] [-AsHashtable] [] +ConvertFrom-Json [-InputObject] [-AsHashtable] [-Depth ] [] ``` ## DESCRIPTION @@ -129,6 +131,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Depth + +Gets or sets the maximum depth the JSON input is allowed to have. +By default, it is 1024. + +```yaml +Type: Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -InputObject Specifies 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:/ [Invoke-WebRequest](Invoke-WebRequest.md) -[Invoke-RestMethod](Invoke-RestMethod.md) \ No newline at end of file +[Invoke-RestMethod](Invoke-RestMethod.md)