diff --git a/postgres/numeric.go b/postgres/numeric.go index b4e5631..f750a7b 100644 --- a/postgres/numeric.go +++ b/postgres/numeric.go @@ -94,7 +94,7 @@ func (n Numeric) Add(other Numeric) Numeric { func (n Numeric) MarshalJSON() ([]byte, error) { if n.Int.Int64() == 0 { - return []byte("\"0\""), nil + return []byte("0"), nil } s := fmt.Sprintf("%d", n.Int)