Allows scanning jsonb column into *json.RawMessage. fixes #409
@@ -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:
The note is not visible to the blocked user.