Skip to content

Commit

Permalink
feat: Out-JSON ( Fixes #727 )
Browse files Browse the repository at this point in the history
Adding Example
  • Loading branch information
James Brundage committed Mar 9, 2024
1 parent b775b09 commit 37c681e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Commands/JSON/Out-JSON.ps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ function Out-JSON {
.SYNOPSIS
Outputs objects as JSON
.DESCRIPTION
Outputs objects in JSON.
Outputs objects in JSON.
If only one object is outputted, it will not be in a list.
If multiple objects are outputted, they will be in a list.
.LINK
@{
a = 'b'
} | Out-JSON
#>
[CmdletBinding(PositionalBinding=$false)]
[Alias('text.json.out')]
Expand Down

0 comments on commit 37c681e

Please sign in to comment.