An open API service indexing awesome lists of open source software.

https://github.com/aetonsi/pwsh__jsonintegrity

{pwsh} Powershell tool to check whether a given string is valid JSON.
https://github.com/aetonsi/pwsh__jsonintegrity

json powershell pwsh

Last synced: 2 months ago
JSON representation

{pwsh} Powershell tool to check whether a given string is valid JSON.

Awesome Lists containing this project

README

          

# pwsh__JsonIntegrity
Powershell tool to check whether a given string is valid JSON.

# Usage
```powershell
# import module first
Import-Module ./JsonIntegrity.psm1

# use the imported function
$validJson = Get-JsonIntegrity "[1,2,3]" # True
$validJson = Get-JsonIntegrity "asdasdasd" # False
```