diff --git a/json.go b/json.go
index 89f253ef2d93a96e4c1ceff290cae85b79f954a8..c55cb5373eb8ff129bbd796c35521685b1bd0a27 100644
--- a/json.go
+++ b/json.go
@@ -345,20 +345,6 @@ func parseArgumentArray(p json.RawMessage, types []reflect.Type) ([]reflect.Valu
 	return args, nil
 }
 
-// parseSubscriptionName extracts the subscription name from an encoded argument array.
-func parseSubscriptionName(rawArgs json.RawMessage) (string, error) {
-	dec := json.NewDecoder(bytes.NewReader(rawArgs))
-	if tok, _ := dec.Token(); tok != json.Delim('[') {
-		return "", errors.New("non-array args")
-	}
-	v, _ := dec.Token()
-	method, ok := v.(string)
-	if !ok {
-		return "", errors.New("expected subscription name as first argument")
-	}
-	return method, nil
-}
-
 func trimQuotes(input string) string {
 	if len(input) >= 2 && input[0] == '"' && input[len(input)-1] == '"' {
 		input = input[1 : len(input)-1]