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 50fdc0b commit f6d37ceCopy full SHA for f6d37ce
v5/patch.go
@@ -180,7 +180,7 @@ func (n *partialDoc) UnmarshalJSON(data []byte) error {
180
if t, err := d.Token(); err != nil {
181
return err
182
} else if t != startObject {
183
- return &syntaxError{fmt.Sprintf("unexpected JSON token in document node: %s", t)}
+ return &syntaxError{fmt.Sprintf("unexpected JSON token in document node: %v", t)}
184
}
185
for d.More() {
186
k, err := d.Token()
0 commit comments