Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 645 Bytes

File metadata and controls

28 lines (22 loc) · 645 Bytes

Function-Template

This function is part of the OZOStrings PowerShell Module.

Description

Converts a JSON file to a string.

Syntax

Convert-OZOJsonFileToString
    -Path <String>

Parameters

Parameter Description
Path The path to the JSON file to convert.

Examples

Convert-OZOJsonFileToString -Path "C:\Temp\example.json"
[{"Name":"Tom","EmployeeID":10},{"Name":"Jerry","EmployeeID":20}]

Outputs

System.String

See Also