diff --git a/json.go b/json.go index ef8231b1..b05aba6b 100644 --- a/json.go +++ b/json.go @@ -152,7 +152,7 @@ func (dst *JSON) Scan(src interface{}) error { func (src *JSON) Value() (driver.Value, error) { switch src.Status { case Present: - return string(src.Bytes), nil + return src.Bytes, nil case Null: return nil, nil default: