summaryrefslogtreecommitdiff
path: root/vendor/github.com/json-iterator/go/reflect_struct_encoder.go
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-01-23 08:39:44 +0000
committerMatthew Heon <mheon@redhat.com>2020-01-23 04:18:23 -0500
commit4f5d92f651fc64f98e9e930ba4c715639e819af1 (patch)
tree84666164b2c85ac0399b7dc70664559754e75c27 /vendor/github.com/json-iterator/go/reflect_struct_encoder.go
parentac3a6b80b0ccd2f9592110811ccf6fd844110b9e (diff)
downloadpodman-4f5d92f651fc64f98e9e930ba4c715639e819af1.tar.gz
podman-4f5d92f651fc64f98e9e930ba4c715639e819af1.tar.bz2
podman-4f5d92f651fc64f98e9e930ba4c715639e819af1.zip
build(deps): bump github.com/json-iterator/go from 1.1.8 to 1.1.9
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go) from 1.1.8 to 1.1.9. - [Release notes](https://github.com/json-iterator/go/releases) - [Commits](https://github.com/json-iterator/go/compare/1.1.8...v1.1.9) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'vendor/github.com/json-iterator/go/reflect_struct_encoder.go')
-rw-r--r--vendor/github.com/json-iterator/go/reflect_struct_encoder.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/github.com/json-iterator/go/reflect_struct_encoder.go b/vendor/github.com/json-iterator/go/reflect_struct_encoder.go
index d0759cf64..152e3ef5a 100644
--- a/vendor/github.com/json-iterator/go/reflect_struct_encoder.go
+++ b/vendor/github.com/json-iterator/go/reflect_struct_encoder.go
@@ -200,6 +200,7 @@ type stringModeStringEncoder struct {
func (encoder *stringModeStringEncoder) Encode(ptr unsafe.Pointer, stream *Stream) {
tempStream := encoder.cfg.BorrowStream(nil)
+ tempStream.Attachment = stream.Attachment
defer encoder.cfg.ReturnStream(tempStream)
encoder.elemEncoder.Encode(ptr, tempStream)
stream.WriteString(string(tempStream.Buffer()))