chore: upgrade dependencies

This commit is contained in:
2022-06-09 12:30:53 +02:00
parent 7203f3d6a1
commit dcb93ec8f7
518 changed files with 27808 additions and 3221 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"bytes"
)
// Array represent the encoding of a JSON Array
// Array represents the encoding of a JSON Array
type Array struct {
w *bytes.Buffer
writeComma bool
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"io"
)
// DiscardUnknownField discards unknown fields from decoder body.
// This function is useful while deserializing json body with additional
// DiscardUnknownField discards unknown fields from a decoder body.
// This function is useful while deserializing a JSON body with additional
// unknown information that should be discarded.
func DiscardUnknownField(decoder *json.Decoder) error {
// This deliberately does not share logic with CollectUnknownField, even