NestedText in Go (alpha)

9331e83 Update README.md

2 years ago

e9f43b9 Update README.md

2 years ago


NestedText v1* in Go (alpha).

Provides an executable which converts stdin NestedText to stdout JSON. Future plans are to provide a jq like interface and a simple library.

* This implementation does not recognise quoted or multi-lined keys, in the interest of simplicity against needless complexity.


$ go build -o nt


$ nt < data.nt
$ nt <<EOF
	name: Harry Potter
	email: h.potter@hogwarts.ac.uk
		> 4 Pivet Drive
		> Little Whinging
		> Surrey
		> England
		- elder wand
		- resurrection stone
		- invisibility cloak