MCPcopy Create free account
hub / github.com/aws/smithy-go / Close

Method Close

encoding/json/array.go:33–35  ·  view source on GitHub ↗

Close encodes the end of the JSON Array

()

Source from the content-addressed store, hash-verified

31
32// Close encodes the end of the JSON Array
33func (a *Array) Close() {
34 a.w.WriteRune(rightBracket)
35}

Callers 6

encodeByteSliceFunction · 0.45
TestArrayFunction · 0.45
TestEncoderFunction · 0.45
TestValueFunction · 0.45
TestObjectFunction · 0.45
TestObjectKey_escapedFunction · 0.45

Calls 1

WriteRuneMethod · 0.65

Tested by 5

TestArrayFunction · 0.36
TestEncoderFunction · 0.36
TestValueFunction · 0.36
TestObjectFunction · 0.36
TestObjectKey_escapedFunction · 0.36