Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 474 Bytes

README.md

File metadata and controls

34 lines (30 loc) · 474 Bytes

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