JSON templates

June 26, 2015 ยท View on GitHub

A simple JSON template rendering tool. Templates are written as GO templates.

Usage

Simple rendering using a template:

$ cat some.json | jt -template some.tmpl

Building

Pre-requisites

  • go
  • coreutils
  • make

Compile and install to default location (/usr/bin on Linux)

$ make
$ sudo make install

Install to custom location

$ make install prefix=/tmp/custom

Contents

  1. 1Usage
  2. 2Building