/PS-Json

Json Type Alias and Converters for PowerShell

Primary LanguageC#

PS-Json

Provides a Type Accelerator and Adapter for JSON data in PowerShell

Using

  1. Install PS-Get

  2. Get PS-Json from the PS-Get gallery

    Import-Package PS-Json

  3. Create an object from a JSON string

    $j = [json]"{foo:42}"

  4. Access properties from the JSON object!

    $j.foo