Functions/Test-JsonCustom.ps1
Function Test-JsonCustom { [CmdletBinding()] [OutputType([boolean])] param( [string]$json ) try { ConvertFrom-Json $json -ErrorAction Stop; $true; } catch { $false; } } |
Function Test-JsonCustom { [CmdletBinding()] [OutputType([boolean])] param( [string]$json ) try { ConvertFrom-Json $json -ErrorAction Stop; $true; } catch { $false; } } |