Last active
December 25, 2020 12:49
-
-
Save ivanignatiev/abca41430c6d4133f84ca979abad3a10 to your computer and use it in GitHub Desktop.
Test: JSON Reference ($ref) in PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$PSVersionTable | |
$TEST_JSON = '{ | |
"foo": {"$ref": "#/bar"}, | |
"bar": true | |
}' | |
$testObject = $TEST_JSON | ConvertFrom-Json - | |
$testObject | Format-List |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment