MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Format

Method Format

pkg/util/json/json.go:603–612  ·  view source on GitHub ↗
(buf *bytes.Buffer)

Source from the content-addressed store, hash-verified

601}
602
603func (j jsonArray) Format(buf *bytes.Buffer) {
604 buf.WriteByte('[')
605 for i := range j {
606 if i != 0 {
607 buf.WriteString(", ")
608 }
609 j[i].Format(buf)
610 }
611 buf.WriteByte(']')
612}
613
614func (j jsonObject) Format(buf *bytes.Buffer) {
615 buf.WriteByte('{')

Callers

nothing calls this directly

Calls 1

FormatMethod · 0.65

Tested by

no test coverage detected