Skip to content

Latest commit

 

History

History
executable file
·
30 lines (24 loc) · 673 Bytes

README.md

File metadata and controls

executable file
·
30 lines (24 loc) · 673 Bytes

Description

yaml2json

Features

  • zero config.
  • supports Windows, Linux, macOS, FreeBSD, NetBSD, OpenBSD, Plan 9 etc..

Installation

go get -v github.com/bronze1man/yaml2json

Usage

  • echo "a: 1" | yaml2json
  • yaml2json < 1.yml > 2.json

Notice

  • if you don't know whether your platform is 386 or amd64, use the 386 build...
  • the master branch may rewrite history to save space.
  • the source branch contains the full history of the source code.

Reference