sendyhalim / bunz

JSON beautifier cli tool, written in Haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

JSON beautifier cli tool, written in Haskell

License:MIT License


Languages

Language:Haskell 100.0%