https://github.com/tomasbouda/hjson-powershell
Simple powershell module for conversion between HJSON and JSON.
https://github.com/tomasbouda/hjson-powershell
conversion convert hjson json module
Last synced: 6 months ago
JSON representation
Simple powershell module for conversion between HJSON and JSON.
- Host: GitHub
- URL: https://github.com/tomasbouda/hjson-powershell
- Owner: TomasBouda
- License: mit
- Created: 2019-10-09T08:53:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T13:35:00.000Z (about 6 years ago)
- Last Synced: 2025-04-12T01:52:03.495Z (6 months ago)
- Topics: conversion, convert, hjson, json, module
- Language: PowerShell
- Homepage:
- Size: 6.84 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hjson-powershell [](https://www.powershellgallery.com/packages/HJSON/) [](https://www.powershellgallery.com/packages/HJSON/)
Simple powershell module for conversion between [HJSON](https://hjson.org/) and [JSON](http://www.json.org/). It't wrapper of [hjson-cs](https://github.com/hjson/hjson-cs). You can found more information about hjson at [https://hjson.org/](https://hjson.org/).
## Instalation
```ps1
Install-Module -Name HJSON
```## Usage
Convert Json to HJson
```ps1
$hjsonString = ConvertTo-HJson -Path "C:\someJsonFile.json"
```Convert HJson to Json
```ps1
$jsonString = ConvertFrom-HJson -Path "C:\someHJsonFile.hjson"
```