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 wizard: name: Harry Potter email: firstname.lastname@example.org address: > 4 Pivet Drive > Little Whinging > Surrey > England possessions: - elder wand - resurrection stone - invisibility cloak EOF