private/Convert-JsonToHash.ps1
function Convert-JsonToHash ($json) { $hash = @{} ($json | Get-Member -MemberType NoteProperty).Name | ForEach-Object { $hash[$_] = $json.$_ } return $hash } |
function Convert-JsonToHash ($json) { $hash = @{} ($json | Get-Member -MemberType NoteProperty).Name | ForEach-Object { $hash[$_] = $json.$_ } return $hash } |