diff --git a/function_call.go b/function_call.go index 11cccb3e..b3a22c4f 100644 --- a/function_call.go +++ b/function_call.go @@ -2,7 +2,6 @@ package pgproto3 import ( "encoding/binary" - "encoding/json" "github.com/jackc/pgio" ) @@ -93,12 +92,3 @@ func (src *FunctionCall) Encode(dst []byte) []byte { pgio.SetInt32(dst[sp:], int32(len(dst[sp:]))) return dst } - -// MarshalJSON implements encoding/json.Marshaler. -func (src FunctionCall) MarshalJSON() ([]byte, error) { - return json.Marshal(struct { - Type string - }{ - Type: "FunctionCall", - }) -}