diff --git a/log_debug.go b/log_debug.go index 16ef75d..8832351 100644 --- a/log_debug.go +++ b/log_debug.go @@ -4,6 +4,8 @@ package nostr import ( "fmt" + + jsoniter "github.com/json-iterator/go" ) func debugLogf(str string, args ...any) { @@ -26,7 +28,7 @@ func stringify(anything any) any { printableValues[i] = stringify(subv) } return printableValues - case []json.RawMessage: + case []jsoniter.RawMessage: j, _ := json.Marshal(v) return string(j) case []byte: