- バックアップ一覧
- 現在との差分 を表示
- ソース を表示
- バックアップ を表示
- PowerShell/テキスト処理/ConvertFrom-Json - curlからのJSONをパースする へ行く。
- 1 (2019-09-21 (土) 15:13:26)
- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2019-09-21T15:13:26+09:00","default:ryuichi","ryuichi") * ConvertFrom-Json - curlからのJSONをパースする [#ac5868b9] PS> $response = Invoke-WebRequest -Uri "swapi.co/api/people/1/" PS> ConvertFrom-Json $response.Content name : Luke Skywalker height : 172 mass : 77 hair_color : blond ** 参考 [#w2ebea55] - https://stackoverflow.com/questions/37762615/how-to-parse-json-from-the-invoke-webrequest-in-powershell - スターウォーズAPI: https://swapi.co/