Provides a Type Accelerator and Adapter for JSON data in PowerShell
-
Get PS-Json from the PS-Get gallery
Import-Package PS-Json
-
Create an object from a JSON string
$j = [json]"{foo:42}"
-
Access properties from the JSON object!
$j.foo
Provides a Type Accelerator and Adapter for JSON data in PowerShell
Get PS-Json from the PS-Get gallery
Import-Package PS-Json
Create an object from a JSON string
$j = [json]"{foo:42}"
Access properties from the JSON object!
$j.foo