MCPcopy Create free account
hub / github.com/dinedal/textql / MarshalJSON

Method MarshalJSON

sqlparser/sqltypes/sqltypes.go:310–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

308}
309
310func (s String) MarshalJSON() ([]byte, error) {
311 return json.Marshal(string(s.raw()))
312}
313
314func (s String) raw() []byte {
315 return []byte(s)

Callers

nothing calls this directly

Calls 1

rawMethod · 0.95

Tested by

no test coverage detected