This function is part of the OZOStrings PowerShell Module.
Converts a JSON file to a string.
Convert-OZOJsonFileToString
-Path <String>
| Parameter | Description |
|---|---|
Path |
The path to the JSON file to convert. |
Convert-OZOJsonFileToString -Path "C:\Temp\example.json"
[{"Name":"Tom","EmployeeID":10},{"Name":"Jerry","EmployeeID":20}]System.String