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.
2 parents 50fdc0b + f6d37ce commit 6a7ad8aCopy full SHA for 6a7ad8a
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