json export

This commit is contained in:
David Schor 2015-08-10 02:14:10 -04:00
parent 00b13d2ac1
commit 1e9c6990bb
2 changed files with 20 additions and 0 deletions

View file

@ -28,6 +28,7 @@ func Dump(qs graph.QuadStore, outFile, typ string) error {
if export.Err() != nil {
return export.Err()
}
export.ExportJson()
if outFile != "-" {
fmt.Printf("%d entries were written\n", export.Count())