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: h.potter@hogwarts.ac.uk
address:
> 4 Pivet Drive
> Little Whinging
> Surrey
> England
possessions:
- elder wand
- resurrection stone
- invisibility cloak
EOF
License: GNU General Public License
Project site: https://sr.ht/~torresjrjr/go-nestedtext
Mailing lists: