If you have a need to use Invoke-WebRequest
over Invoke-RestMethod
you can convert it to an object by turning it into a string first
$response = Invoke-WebRequest -Uri "https://yadayada:8080/bla"$jsonObj = ConvertFrom-Json $([String]::new($response.Content))