diff --git a/result.go b/result.go index 86cdbc3..95d48fe 100644 --- a/result.go +++ b/result.go @@ -121,7 +121,7 @@ func (this *Result) Dump() { // ToJSON returns a JSON representation of this query result. func (this *Result) ToJSON() string { buf := new(bytes.Buffer) - _, _ = this.DumpToWriter(bufio.NewWriter(buf), OUTFORMAT_JSON, false, "", "NULL", "", 0, false) + _, _ = this.DumpToWriter(bufio.NewWriter(buf), OUTFORMAT_JSON, false, "", "null", "", 0, false) return buf.String() }