Skip to content

DoBetter-pan/prettyjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

prettyjson

A little tool to pretty json

Usage:

Dependencies:

Install and run:

mkdir ~/go_codes/src
cd ~/go_codes/src
git clone https://github.com/DoBetter-pan/prettyjson.git
cd prettyjson
source setenv.sh
go build
go install
add your GOPATH/bin into PATH

vim 1.json
:%!prettyjson
You will see the pretty json in vim.

Note: You must setup your golang environment first and will change your GOPATH when executing "source setenv.sh". I tested it in Ubuntu. If you are using other OS, it is the same way as in Ubuntu. Please try.

Support and contact

If you have any question and advice, please tell me.

About

a little command tool to pretty json

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published