We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22541ca commit 1156a7eCopy full SHA for 1156a7e
1 file changed
internal/grpc/server_grpc.go
@@ -20,6 +20,7 @@ func (JSONCodec) Name() string { return "json" }
20
func (JSONCodec) Marshal(v interface{}) ([]byte, error) {
21
return json.Marshal(v)
22
}
23
+
24
func (JSONCodec) Unmarshal(data []byte, v interface{}) error {
25
return json.Unmarshal(data, v)
26
0 commit comments