From c6cd3a7e039d0aa99ccc2a50771516ab33944273 Mon Sep 17 00:00:00 2001 From: pietervanheijningen Date: Sat, 16 Nov 2024 20:00:39 +0100 Subject: [PATCH] Fix typo, causing extensions to produce invalid json --- msgp/json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgp/json.go b/msgp/json.go index dbd70cda..18593f64 100644 --- a/msgp/json.go +++ b/msgp/json.go @@ -310,7 +310,7 @@ func rwExtension(dst jsWriter, src *Reader) (n int, err error) { } n++ - nn, err = dst.WriteString(`"type:"`) + nn, err = dst.WriteString(`"type":`) n += nn if err != nil { return