bunz: CLI tool to beautify JSON string.

[ cli, json, library, mit, program ] [ Propose Tags ]

CLI tool to beautify JSON string.


[Skip to Readme]

Modules

[Last Documentation]

  • Beautifier
  • Character

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.9
Dependencies base (>=4.7 && <5), bunz, cmdargs (>=0.10.18), text (==1.2.2.2), unix (==2.7.2.1) [details]
License MIT
Copyright (c) 2019 Sendy Halim
Author Sendy Halim <sendyhalim93@gmail.com>
Maintainer Sendy Halim <sendyhalim93@gmail.com>
Category CLI, JSON
Home page https://github.com/sendyhalim/bunz
Source repo head: git clone https://github.com/githubuser/bunz
Uploaded by sendyhalim at 2019-02-27T10:53:04Z
Distributions
Executables bunz
Downloads 4850 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2019-02-27 [all 3 reports]

Readme for bunz-0.0.9

[back to package description]

Bunz

JSON beautifier cli tool written in Haskell

Usage

// Beautify plain json string
bunz "{\"foo\":\"bar\"}"
{
  "foo": "bar"
}

// Beautify the input
cat test.json | bunz
{
  "name": "sendy",
  "popular": false,
  "friend": {
    "name": "\"The rock\n\n\t?",
    "points": [
      1,
      2,
      34,
      5
    ]
  }
}

Installation

Bunz requires Haskell stack tool to install

stack install bunz