MCPcopy Create free account
hub / github.com/cloudwego/dynamicgo / EncodeEmptyArray

Function EncodeEmptyArray

internal/json/encoding.go:95–97  ·  view source on GitHub ↗
(buf []byte)

Source from the content-addressed store, hash-verified

93}
94
95func EncodeEmptyArray(buf []byte) []byte {
96 return append(buf, '[', ']')
97}
98
99func EncodeObjectBegin(buf []byte) []byte {
100 return append(buf, '{')

Callers 1

writeDefaultOrEmptyFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…