Skip to content

dafu-wu/yaml2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml2json

Build Status Crates.io

A command-line tool that converts YAML to JSON.

Installation

Cargo

$ cargo install yaml2json

Usage

Convert YAML on stdin to JSON, filtering it through jq:

$ yaml2json <<< 'okay = "ok"' | jq

Convert YAML from a file and pretty-print it without jq:

$ yaml2json --pretty ./demo.yaml

About

A command-line tool that converts YAML to JSON

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages