Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 650 Bytes

File metadata and controls

23 lines (19 loc) · 650 Bytes

Function-Template

This function is part of the OZOStrings PowerShell Module.

Description

Converts a JSON string to a file.

Syntax

Convert-OZOJsonStringToFile
    -JsonString <String>
    -Path <String>

Parameters

Parameter Description
JsonString The JSON string to convert.
Path The path for the output JSON file.

Example

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