asjson

command module
Version: v0.0.0-...-866610c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2018 License: GPL-3.0 Imports: 10 Imported by: 0

README

A Golang implementation of a simple json format tool

Build Status codecov Go Report Card

Test

go test ./...

Installation

go get github.com/leobuzhi/asjson

Useage

echo "[1 , 2 ,   3 ]" | asjson -min
#output:
#[1,2,3]
echo '{"key1":  1,"key2":  "2"}' | asjson 
#output:
# {
#   "key1":1,
#   "key2":"2"
# }

Benchmark

go test -bench .
#1000	   2167372 ns/op

Contributing

Contributions are welcomed and greatly appreciated.

License

asjon is under the GPL license.

Documentation

Overview

* @Author: Joey.Chen * @Date: 2018-09-10 08:25:48 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-15 12:16:44

Source Files

Directories

Path Synopsis
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:29 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-15 22:12:18
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:29 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-15 22:12:18
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:33 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-14 22:20:01
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:33 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-14 22:20:01
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:36 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-14 22:31:25
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:36 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-14 22:31:25
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:11 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-14 22:32:13
* @Author: Joey.Chen * @Date: 2018-09-10 08:25:11 * @Last Modified by: Joey.Chen * @Last Modified time: 2018-09-14 22:32:13

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL