github.com/bronze1man/yaml2json


Properties

Last built 2 years ago using go version go1.5 linux/amd64 and 240 seconds of time

Downloads
Filename
File Size
 
yaml2json_master_darwin-386.zip
873KiB
yaml2json_master_darwin-amd64.zip
923KiB
yaml2json_master_linux-386.zip
878KiB
yaml2json_master_linux-amd64.zip
933KiB
yaml2json_master_linux-arm.zip
866KiB
yaml2json_master_windows-386.zip
906KiB
yaml2json_master_windows-amd64.zip
964KiB
Project-Readme for this version

Description

yaml2json

Feature

  • zero config.
  • zero install.
  • support windows,linux,Mac os,freebsd,netbsd,openbsd,plan9 platform

Usage

shell

  • find the build of you platform
  • run echo "a: 1" | yaml2json to see result

read from file save to file

cat 1.yml | yaml2json > 2.json

Notice

  • if you do not know your mashine is 386 or amd64,you can use 386…
  • master branch may rewrite history to save space.
  • source branch save the history of source code.

Reference

https://github.com/peter-edge/go-yaml2json