/jt

Simple JSON template rendering

Primary LanguageGoThe UnlicenseUnlicense

JSON templates

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