MCPcopy Create free account
hub / github.com/dolthub/doltgresql / asString

Function asString

postgres/parser/json/json.go:578–582  ·  view source on GitHub ↗
(j JSON)

Source from the content-addressed store, hash-verified

576}
577
578func asString(j JSON) string {
579 var buf bytes.Buffer
580 j.Format(&buf)
581 return buf.String()
582}
583
584func (j jsonNull) String() string { return asString(j) }
585func (j jsonTrue) String() string { return asString(j) }

Callers 7

StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85
StringMethod · 0.85

Calls 2

FormatMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected