Skip to content

mkjt2/jsonipy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jsonipy - CLI to convert stuff to JSON

Go from TOML, YAML, JSON5, HCL2 source formats, into JSON.

What for?

This might pair well with the powerful jq. E.g. analyze a TOML file using jq commands.

Usage

usage: jsonipy [-h] {toml,yaml,json5,hcl2}

Convert something from stdin to JSON

positional arguments:
{toml,yaml,json5,hcl2}
Source format

options:
-h, --help            show this help message and exit

Example

Convert a YAML file to JSON, print the result.

cat some.yaml | jsonipy yaml

How to install

Use pipx.

pipx install git+https://github.com/mkjt2/jsonipy.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages