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

Method Array

encoding/json/value.go:88–90  ·  view source on GitHub ↗

Array returns a new Array encoder

()

Source from the content-addressed store, hash-verified

86
87// Array returns a new Array encoder
88func (jv Value) Array() *Array {
89 return newArray(jv.w, jv.scratch)
90}
91
92// Object returns a new Object encoder
93func (jv Value) Object() *Object {

Callers 1

TestValueFunction · 0.45

Implementers 3

Tagencoding/cbor/cbor.go
Nilencoding/cbor/cbor.go
Undefinedencoding/cbor/cbor.go

Calls 1

newArrayFunction · 0.70

Tested by 1

TestValueFunction · 0.36