This is an implementation of the interface expected by toml-test for my toml parser written in Go. In particular, it maps TOML data on stdin to a JSON format on stdout.
stdin
stdout