summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-jose/go-jose/v3/json/decode.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-03-11 10:36:13 +0000
committerLibravatar GitHub <noreply@github.com>2024-03-11 10:36:13 +0000
commit5a56f4f8fb06192735620075c4ef6c1adca14b38 (patch)
treed1c8870c422b7a188bf64faf68774d1c1344a5f1 /vendor/github.com/go-jose/go-jose/v3/json/decode.go
parent[chore]: Bump github.com/jackc/pgx/v5 from 5.5.3 to 5.5.5 (#2747) (diff)
downloadgotosocial-5a56f4f8fb06192735620075c4ef6c1adca14b38.tar.xz
[chore]: Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 (#2733)
Diffstat (limited to 'vendor/github.com/go-jose/go-jose/v3/json/decode.go')
-rw-r--r--vendor/github.com/go-jose/go-jose/v3/json/decode.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/go-jose/go-jose/v3/json/decode.go b/vendor/github.com/go-jose/go-jose/v3/json/decode.go
index 4dbc4146c..50634dd84 100644
--- a/vendor/github.com/go-jose/go-jose/v3/json/decode.go
+++ b/vendor/github.com/go-jose/go-jose/v3/json/decode.go
@@ -75,14 +75,13 @@ import (
//
// The JSON null value unmarshals into an interface, map, pointer, or slice
// by setting that Go value to nil. Because null is often used in JSON to mean
-// ``not present,'' unmarshaling a JSON null into any other Go type has no effect
+// “not present,” unmarshaling a JSON null into any other Go type has no effect
// on the value and produces no error.
//
// When unmarshaling quoted strings, invalid UTF-8 or
// invalid UTF-16 surrogate pairs are not treated as an error.
// Instead, they are replaced by the Unicode replacement
// character U+FFFD.
-//
func Unmarshal(data []byte, v interface{}) error {
// Check for well-formedness.
// Avoids filling out half a data structure