How do we convert the json string into a hastable? .
Suppose I have a string such as:
{"Application":"Billing Interface","Business Area":"Interfaces","Region":"YO"}
How do we convert this to a hash table?
I'm doing this right now:
$myJsonString=
$myJsonString.TrimEnd("}")
.TrimStart("{")
.Replace('":"',"= ")
.Replace('"',"")
.Replace(","," `n ")
$myJsonString = ConvertFrom-StringData -StringData $myJsonString
How do we convert the json string into a hastable?