I wanted to save the contents of an array to a .json file.The array has some dictionaries in it. I tried
Set-Content -Path 'crl_urls.json' -Value $arrayval -Force
The JSON file has stored System.Collections.Hashtable. It hasn't stored the values of the dictionaries.
So How do I do it?