aboutsummaryrefslogtreecommitdiffstats
path: root/skate/reduce.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/reduce.go')
-rw-r--r--skate/reduce.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/skate/reduce.go b/skate/reduce.go
index 61e8cd6..c941a67 100644
--- a/skate/reduce.go
+++ b/skate/reduce.go
@@ -26,6 +26,8 @@ import (
"sync"
"time"
+ stdjson "encoding/json"
+
"git.archive.org/martin/cgraph/skate/set"
"git.archive.org/martin/cgraph/skate/xio"
"git.archive.org/martin/cgraph/skate/zipkey"
@@ -64,7 +66,7 @@ func groupLogf(g *zipkey.Group, s string, vs ...interface{}) {
// match result, e.g. for doi matches.
func ZippyExact(releases, refs io.Reader, matchResult MatchResult, w io.Writer) error {
var (
- enc = xio.NewSafeEncoder(json.NewEncoder(w))
+ enc = xio.NewSafeEncoder(stdjson.NewEncoder(w))
keyer = makeKeyFunc("\t", 1)
i = 0
bref BiblioRef